Summary

XAML excels at expressing deep hierarchies of objects concisely, thanks to the features described in this chapter.

The concept of an element’s content is a crucial one in XAML, for more reasons than simply the syntactic shortcut enabled by content properties. The behavior of styling, the topic of Chapter 18, “Styles, Templates, and Visual States,” and a large set of controls, covered in Chapter 9, “Content Controls,” are centered around the notion of an element’s content.

The ability to fill collections with items is leveraged throughout XAML-based frameworks. You’ll see many examples in Chapter 10, “Items Controls,” and Chapter 16, “Resources.”

Get XAML 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.