Microsoft XAML: 2 Content and Properties
1h 40mIntermediate2016-10-17
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning
Course details
If you want to use XAML, the XML-based markup language developed by Microsoft to create better user interfaces for Windows applications, you need to understand how it treats content and properties. Walt Ritscher continues his exploration of XAML in part 2 of Microsoft XAML Fundamentals, focusing on the unique way XAML treats content within XML markup and the fascinating dependency properties framework, which facilitates modern UI features such as animation and data binding. Learn how content is tied to .NET and its code-behind file, and how the syntax for dependency properties and specialized attached properties is structured. This foundational knowledge will help you incorporate data, documents, and sophisticated UI controls, as well as dependency system services like data binding, validation, templates, and animation, into your next Windows 10 application.
Learning objectives
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
Learning objectives
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
Skills covered
XAML.NETAzureProgramming LanguagesMicrosoftSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know before watching
- 03 - How to use the exercise files
1. Understanding Content in XAML Elements
- 04 - What does content mean in XAML
- 05 - Use children elements as content
- 06 - Install the dotPeek utility
- 07 - How each element defines a content property
- 08 - Content as an object in XAML
- 09 - Content as an object in code
- 10 - Visual content in panels
- 11 - Content as a list in XAML
- 12 - Content as a list in code
- 13 - Content as a dictionary in XAML
- 14 - Content as a dictionary in code
2. Exploring the Property Systems
- 15 - The trouble with normal .NET properties for UI
- 16 - Explore the concept of dependency properties
- 17 - Use some dependency properties
- 18 - Order of precedence for dependency properties
- 19 - Explore the concept of attached properties
- 20 - Attached properties with the grid
- 21 - Attached properties with the canvas
- 22 - Concepts of custom dependency properties
- 23 - Register the custom dependency property
- 24 - Use the custom dependency properties
Conclusion
- 25 - Next steps