Explore how XAML treats content within XML markup and the dependency properties framework, which enables services such as data binding and animation in Windows applications.
Overview
Syllabus
Introduction
- Welcome
- What you should know before watching
- How to use the exercise files
- What does content mean in XAML?
- Use children elements as content
- Install the dotPeek utility
- How each element defines a content property
- Content as an object in XAML
- Content as an object in code
- Visual content in panels
- Content as a list in XAML
- Content as a list in code
- Content as a dictionary in XAML
- Content as a dictionary in code
- The trouble with normal .NET properties for UI
- Explore the concept of dependency properties
- Use some dependency properties
- Order of precedence for dependency properties
- Explore the concept of attached properties
- Attached properties with the grid
- Attached properties with the canvas
- Concepts of custom dependency properties
- Register the custom dependency property
- Use the custom dependency properties
- Next steps
Taught by
Walt Ritscher