Intro to C# with ESAPI - Binding vs Code Behind

Publié le: 19 mai 2022
sur la chaîne: Hello ESAPI
425
3

In this video we'll cover the basic differences between views that use the "code behind" and those that use binding (e.g., MVVM) by reviewing an example project that contains....

a view that uses the code behind to update its information/interface
a view that uses a viewmodel to update its information/interface using INotifyPropertyChanged and its methods. We'll also discuss how Prism can be used instead but will cover that in a future video

Notes:
Review of the project code examples begins around the 9:33 timestamp...
Best on 1.5x (or higher) playback speed
At the end we show how easy it is to fill a DataGrid with a list of objects via Binding

Code:
https://github.com/HelloESAPI/Learnin...

More Information:
Interfaces:    • Interfaces in C# - What they are, how...  
e.g., INotifyPropertyChanged is an example of an Interface

Commands:    • Commands - WPF MVVM TUTORIAL #4  
e.g., used to manage button click events, etc. when using INotifyPropertyChanged instead of a 3rd party nuget package like Prism


Sur cette page du site, vous pouvez voir la vidéo en ligne Intro to C# with ESAPI - Binding vs Code Behind durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Hello ESAPI 19 mai 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 425 fois et il a aimé 3 téléspectateurs. Bon visionnage!