Data binding is a powerful feature of WPF and other XAML frameworks. With binding, you specify a data source and a data target. The binding engine pushes the data from the data source into the data target. The binding engine manages data changes, if a
- [Instructor] Binding is one of my favorite features…of WPF and other XAML frameworks.…With binding, you specify a data source…and a data target.…The binding engine pushes the data…from the data source into the data target.…The target is usually a property on a UI element.…The binding engine manages data changes.…If a value changes in the source,…the target is updated,…and when you have two-way binding configured,…changes in the target are pushed back into the source.…Binding provides additional services,…including data conversion and formatting.…
Bindings can be defined between UI elements,…that means the data source is a property on a UI element,…while the data target is a property on another element…in the same visual tree.…If necessary, you can even have a self-binding…between properties on the same element.…For this demonstration,…I'll look at another type of binding source,…I'll use properties on my model class.…The UI I'll build is in this TourStopsView.xaml file.…The data target in this case will be a list box.…
- Why choose Windows Presentation Foundation?
- Exploring the project types
- Creating a WPF project in Visual Studio
- Exploring assemblies and parts
- Using the XAML editor
- Creating the UI, including tabs, details, and controls
- Using data binding
- Adding styles
- Writing interaction code
- Using control templates, 3D parts, and effects
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
2. Create a WPF Application
3. Create the UI
4. Examples and Concepts
Next steps1m 37s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.