Beginners - WPF MVVM (From Scratch)

preview_player
Показать описание
#wpf #csharp #mvvm #wpfscratch

If you are a beginner, start learning about WPF MVVM from scratch with this video.

Chapters:
0:00 Introduction
0:05 Need for MVVM
06:05 Setup a basic View
15:16 Setup the ViewModel
17:30 Create a Model
22:09 Enhance ViewModel
22:46 Implement ICommand
27:51 Move INotifyPropertyChanged to base class
30:21 Hookup View with ViewModel
31:04 Add Databindings
34:06 Debug : First demo
40:10 Create a generic RelayCommand
46:12 Add Haley.MVVM nuget (ALTERNATIVE)
50:35 Implement Delete feature
Рекомендации по теме
Комментарии
Автор

Please share your thoughts on how to improve this video.. If you need me to prepare videos on some specific topics, please share suggestions...

MouseEvents
Автор

The first time you add a person, your backing field is null and therefore, you add null. After adding the first null element to the collection, you finally instantiate the backing field. That's why it works after the first time

horuqbf
Автор

This video helped me so much! I could not at all figure out how the MVVM pattern is supposed to work at all no matter how much I tried to search about it, but with this video everything made so much sense and it finally stopped seeming like some sort of a thing that I'd never understand

I love how in the end you summarized how each part that we programmed made up the MVVM structure

Thanks a lot!!! 😁

liraz
Автор

Thanks for video.
Such a convoluted way of doing things. I would never use MVVM.

Susandwyer
Автор

thanks a lot, great help for starters.

mrt
Автор

Very good session, thanks for sharing!!!

MrSK
Автор

Thanks a ton.Please make more videos on WPF MVVM..

Also a video on WPF developer interview questions please?

VinuP
Автор

What did you change at 35:38, I'm having the same problem, the list view is not getting updated. Only Hyphens.

cnskfjq
Автор

This was really helpful and I understood most of it .
I have one question as a beginner, why didn't we use the private field "person" on the mainVM class? we used TargetPerson instead when we added the TargetPerson to the Collection in the AddPerson method .. just asking for clarification. thank you for your videos!!

luisarias
Автор

I couldn't find a documentation website for Haley Model. Is there any?

jfvrjur
Автор

In your Gitrepo some files are missing

synava