From the course: Microsoft XAML: 2 Content and Properties

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Visual content in panels

Visual content in panels

From the course: Microsoft XAML: 2 Content and Properties

Start my 1-month free trial

Visual content in panels

- [Instructor] Some of the elements found in XAML allow multiple elements for child content. They use collections or dictionaries to hold the child information within the element. For example, resource dictionaries store their children in a dictionary, then there are the items controls which includes the ComboBox, ListBox, and ListView. They store their children in collections. For this video, I'll look at the Panel classes. They store their children in a specialized collection called a UIElement collection. This is an implementation detail which is not very important when writing XAML. There are minor differences in a XAML syntax between resource dictionaries, items controls, and panels, which I'll point out during the chapter. The differences are slightly more pronounced when using code to work with child content. The focus in this movie is on the Panel classess. Panels are responsible for arranging their child content on the screen. I'll open this PanelsDiagram.cd file. These are…

Contents