How to bind View and View model in WPF or how to set DataContext of View? In this article I will discuss about the different ways to bind the View and View Model in WPF. In one of my article I have discussed about the MVVM pattern in the WPF and its various components (i.e. View, View Model and Model). If you want to learn about the data binding in WPF you can learn here. This code examples are written C# programming language.
[Read more…] about Different Ways to Bind WPF View And View ModelWPF
WPF MVVM Practical Data Application
In this article I will discuss about the WPF MVVM(Model-View-View Model) design pattern. I will create a simple data driven live application in WPF which will use MVVM pattern. I have used C# language and Visual Studio 2015 Community to develop the application. I have also used Entity Framework to interact with data base. First I will discuss about the MVVM and its uses. Then I develop a simple CRUD application using the MVVM concepts.
Learning WPF – Using IValueConverter with Code Example
In this article I will discuss about the IValueConverter interface of the WPF framework which is present in the PresentationFramework assembly. I will discuss about the syntax of using the IValueConvertor with binding class in the XAML with code example. Moreover if you want to learn about the binding in WPF you can check my this article and for binding modes this article.
[Read more…] about Learning WPF – Using IValueConverter with Code Example
Updating the source using UpdateSourceTrigger(WPF)
In my previous post I have discussed about the data binding and data binding mode in WPF. In this article I will discuss about the UpdateSourceTrigger which provides the synchronization timing among the of source and target data binding with code examples.
[Read more…] about Updating the source using UpdateSourceTrigger(WPF)
WPF Data binding Modes with Examples
WPF Data binding Modes
In my previous article I have discussed about the data binding in WPF and how we can bind the data provided to the UI elements of WPF. In this article I will walk you through the data binding modes present in WPF with sample code examples.
[Read more…] about WPF Data binding Modes with Examples