Beginners - WPF MVVM (From Scratch)

  Рет қаралды 19,440

Mouse Events

Mouse Events

Күн бұрын

#wpf #csharp #mvvm #wpfscratch
If you are a beginner, start learning about WPF MVVM from scratch with this video.
github.com/rmsmech/Tutorials/...
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

Пікірлер: 23
@MouseEvents
@MouseEvents Жыл бұрын
Please share your thoughts on how to improve this video.. If you need me to prepare videos on some specific topics, please share suggestions...
@user-ho2ru6qb7f
@user-ho2ru6qb7f 7 ай бұрын
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
@mrt7948
@mrt7948 Жыл бұрын
thanks a lot, great help for starters.
@liraz747
@liraz747 6 ай бұрын
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!!! 😁
@MouseEvents
@MouseEvents 6 ай бұрын
Thank you for the detailed comment and support...
@santos5882
@santos5882 2 жыл бұрын
Thank you for this awesome tutorial
@MrSK168
@MrSK168 Жыл бұрын
Very good session, thanks for sharing!!!
@Susandwyer
@Susandwyer 7 ай бұрын
Thanks for video. Such a convoluted way of doing things. I would never use MVVM.
@josbexerra8115
@josbexerra8115 2 жыл бұрын
Excelente....muchas gracias
@katyayanisahu9811
@katyayanisahu9811 Жыл бұрын
Thank you 👍
@VinuP2023
@VinuP2023 2 жыл бұрын
Thanks a ton.Please make more videos on WPF MVVM.. Also a video on WPF developer interview questions please?
@user-cn8sk7fj9q
@user-cn8sk7fj9q Жыл бұрын
What did you change at 35:38, I'm having the same problem, the list view is not getting updated. Only Hyphens.
@padmanabhunishivasravankum2416
@padmanabhunishivasravankum2416 Жыл бұрын
Added a break point and checked the execution
@luisarias9682
@luisarias9682 Жыл бұрын
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!!
@MouseEvents
@MouseEvents Жыл бұрын
Hello.. thanks for the interest... There is no specific reason why Target person was used. At the end, Target person only returns the private field "person".. We can assign any of the two. It makes no difference..
@mrt7948
@mrt7948 Жыл бұрын
more on haley mvvm please.
@user-jf8vr5ju5r
@user-jf8vr5ju5r 11 ай бұрын
I couldn't find a documentation website for Haley Model. Is there any?
@MouseEvents
@MouseEvents 11 ай бұрын
I'm working on a website but not published yet.. Will share soon..
@user-jf8vr5ju5r
@user-jf8vr5ju5r 11 ай бұрын
@@MouseEvents Beautiful. One of the most useful videos elaborating MVVM in the easiest way. Would be super useful if there is a documentation to utilize everything on Haley.
@synava7890
@synava7890 Жыл бұрын
In your Gitrepo some files are missing
@MouseEvents
@MouseEvents Жыл бұрын
Which files?!
@duraisamyds8528
@duraisamyds8528 11 ай бұрын
Tamil
@duraisamyds8528
@duraisamyds8528 11 ай бұрын
Tamil
WPF in C# with MVVM using Caliburn Micro
1:23:30
IAmTimCorey
Рет қаралды 361 М.
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 67 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 64 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Which Software Architecture Should You Use: MVC, MVP, or MVVM?
24:27
WPF MVVM Step by Step ( Windows Presentation Foundation)
34:06
.NET Interview Preparation videos
Рет қаралды 311 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 108 М.
"It's Incredible." The Day Magnus Carlsen Went Full GOAT Mode
9:14
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 41 М.
programming projects that taught me how to code
9:49
isak
Рет қаралды 269 М.
.NET MAUI - Building a cross-platform app from scratch in 35 minutes
37:48
Amichai Mantinband
Рет қаралды 41 М.
[C#] WPF MVVM. Реализация
13:44
BashkaMen Programming
Рет қаралды 66 М.
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 622 М.
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 67 МЛН