Introducing the Data-Binding in WPF

Windows Presentation Foundation offers a powerful data-binding engine, held by the System.Windows.Data namespace, which makes binding data to the user interface (UI) and receiving input from the user even simpler. At a higher level, you perform data-binding between a user control and a data source making use of the Binding markup extension, which a lot 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 DataGrid control for tabular data representations and the ObservableCollection(Of T) in action for binding to a ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.