Introducing the Data-Binding
Windows Presentation Foundation offers a powerful data-binding engine, held by the System.Windows.Data namespace, which makes even simpler binding data to the user interface and receiving input from the user as well. At a higher level you perform data-binding between a user control and a data source making use of the Binding markup extension, that lots of controls enable. It is worth mentioning that in WPF a data source can be a collection of .NET objects but also a property from another user control. The following examples show you both scenarios. Particularly you receive an explanation of the new DataGrid control for tabular data representations and the ObservableCollection(Of T) in action for binding to a collection. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access