DevExpress Tutorial - Getting Started with Model View View-Model (MVVM) | FoxLearn

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to foxlearn in this video i'll shows you how to use model view view model framework with devexpress control open your visual studio then create a new windows forms application project [Music] next right click on your project then add an ado.net entity data model to your project [Music] i'll use the northwind database for practice if you don't have the northwind database you can download it at the foxlearn [Music] website [Music] next rebuild your project then use the devexpress template gallery to generate model view view model framework based on your model you can easily select the views you want to use like tabbed mdi view hybrid uiview or outlook inspired ui view as you can see this template will automatically generate source code based on model view view model framework the devexpress model view view model framework allows you to utilize the model view view model design pattern in winforms applications [Music] do [Music] now take a look at the source code generated using the devexpress template gallery model view view model is an architectural design pattern that separates your application into three layers that make up the pattern's title the view model connects model and view this layer is an abstraction of the view that exposes public properties and commands used to bind your data to gui elements and manage this data the model defines the data and your business logic the view specifies the ui including all visual elements such as buttons labels editors and more it's bound to properties and commands in the view model this separation grants you multiple benefits such as a more independent development process for both developers and designers easier code testing or simpler ui [Music] redesigning finally rebuild your project then drag main view from visual studio toolbox into your form designer or you can also change the main view inheritance from extra user control to extra form or ribbon form the winforms platform without a third-party model view view model framework lacks such essentials as agile data bindings or bendable commands to follow model view view model principles you would have to manually implement those features thus creating an additional layer name called presenter typically this layer includes user controls and their code behind methods that customize view elements event handlers and bindings the devexpress model view view model framework provides built-in support for all those features thus enabling pure model view view model development with winforms without the need for that additional workload as an added benefit it integrates well with devexpress when forms ui controls that you are already using in your [Music] applications [Music] [Music] [Music] with modern ui design you can easily change the look and feel it also supports smooth form transitions furthermore you can easily redesign the layout while the app is running [Music] do [Music] [Music] [Music] [Music] [Music] do [Music] do [Music] do [Music] thank you for watching this video and don't forget to subscribe to my channel
Info
Channel: Fox Learn
Views: 25,153
Rating: undefined out of 5
Keywords: foxlearn, c#, .net, mvvm, devexpress, design pattern, model-view-viewmodel, model-view-viewmodel pattern, model-view-viewmodel c#, mvvm winforms c#, devexpress mvvm, devexpress mvvm winforms, devexpress mvvm tutorial, mvvm tutorial, mvvm pattern, model view viewmodel, c# training, how to use mvvm, why use mvvm, what is mvvm, c# winforms, developer express, view model, visual studio
Id: DxGgBJ5hYsw
Channel Id: undefined
Length: 8min 49sec (529 seconds)
Published: Wed Dec 09 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.