C# WPF Tutorial #23 - Using ViewModels in MVVM

preview_player
Показать описание
Diving into the implementation of MVVM with the creation of our first Model and VIewModel, setting our data context and using several types of Bindings to our View, as well as a few upgrades, tips and tricks!

Happy Coding!

Chapters:

0:00 Setup
1:58 Creating a Model (POCO)
3:01 Creating a ViewModel
7:40 ViewModel Base Class
8:54 View and Bindings
10:30 Seeding Data and Testing
11:40 DataGrid Custom Columns
13:24 Recap/Review
14:41 Next Up
Рекомендации по теме
Комментарии
Автор

Thank you for these videos!!

I've generally been watching them once through and then playing back as I code along.. however this video is going to take a few re-watches I think.

Massive thumbs up!! :-)
Many thanks again, Phil

PhilipHenningD
Автор

The sound quality of this tutorial was lit 🔥

mumk
Автор

Thank you for being so generous with your time and sharing your knowledge

gayatrik
Автор

Your tutorials are a pure gift! thanks!

pierrestcergues
Автор

As someone also coming from asking GPT, this video nails it. Nicely done!

coldwolf
Автор

It's almost disappointing how straightforward this is after getting worked up about "the unknown" :P

robinheyer
Автор

Finally!! I have reached to this video! 🤣🤣 I'm so glad that you are presenting this mvvm concept with datagrid example. 😊😊 Thank you so much Kampa! 😄😄

wookyumkim
Автор

Great tutorial.
I learned new features on WPF.
Thanks.

אלוןאדר
Автор

bro, with all the questions ive asked chat gpt about this, this video is more comprihensive and more comprihesible.. mabe they wont replace us afterall. greaeat video man

בןמשה-טע
Автор

Great video as usual! I didn't know that we don't have to implement INotifyPropertyChanged for ObservableCollection Lol. Thanks for making me realize that my knowledge of WPF is still very limited.😆

Stars.Stripes.andVan
Автор

Can't believe I struggled with understand MVVM in the past. I am more confused how every video in this playlist worked without error every time??!?!

TheWolfcast
Автор

Great tutorial. i finished all the video from playlist. can tell how many video left? and when you are going to upload again?

mythmaker
Автор

I think I understand the basic structure of MVVM but one thing bugs me for a long time and that's the fact that one still has to refer to the objects and propertiers but in this case through the bindings. What's the point of that? How is the UI decoupled from the Code in that case? How can a designer make the UI without knowing how the objects and properties are named? I understand that both are separately testable but that's all? Any hints and tipps from anyone are greatly appreciated!

JuvilleBeats
Автор

Great tutorial series. Only problem is having to wait too long for the next video.

thushanshanilka
Автор

Uhh nice!! MVVM!! love it :D
I just startet playing around with MVVM a few days ago.
The only part i´m not getting is, how do i get data from one viewmodel to the other?
So lets say the first view is the inventory view like you´ve just drawn, the second one is e.g. a details view for one specific item. So i need the have access to the same ObservableCollection<Item> as in the first view.
Hope you´ll get to that soon :)
Thanks for ur videos, they have helped me a lot :)

dakloafitz
Автор

Hello Kampa, as always the best video about WPF that I have seen so far - and I have seen them alot !!! Any idea why intellisense is not recommending properties in the selection list when you are typing them in the XAML window ? I saw in some videos tha other people dont have this problem. I tired everything and cant get it working. Thx

vitalijgrabovan
Автор

Really create a tutorial and create job.

reyaadelkomy
Автор

Pls do a video on treeview control in MVVm

priyankaabbineni