Explore how XAML treats content within XML markup and the fascinating dependency properties framework, which enables services such as data binding, validation, templates, and animation in your Windows applications.
- [Walt] Welcome to my XAML Content and Properties course. Join me as I continue my series about the Microsoft Extensible Application Markup Language. The first concept to explore is the idea of content, how to get your information into the application interface. I'll look at the unique ways that XAML handles content within the XML markup and also explore how it is tied to the .NET types in the code behind file. Next, I investigate a fascinating part of the XAML frameworks, the dependency property system. This system enables many facets of modern UI development like animations, data binding, and control styles.
I'll look at why you need this system, explore the syntax for creating dependency properties, and show you how attached properties work. That's the topics for this course. I know you are ready to go. Let's do this.
- What does content mean in XAML?
- Using dotPeek to show property values for XAML elements
- Expressing content as objects, lists, or dictionaries in XAML vs. code
- Exploring dependency and attached properties
- Working with attached properties in the grid and canvas
- Using custom dependency properties