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
From the course: Microsoft XAML: 2 Content and Properties
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
What does content mean in XAML?3m 41s
-
(Locked)
Use children elements as content7m 5s
-
(Locked)
Install the dotPeek utility1m 16s
-
How each element defines a content property5m 28s
-
(Locked)
Content as an object in XAML6m 32s
-
(Locked)
Content as an object in code5m 33s
-
(Locked)
Visual content in panels4m 59s
-
(Locked)
Content as a list in XAML3m 53s
-
(Locked)
Content as a list in code3m 6s
-
(Locked)
Content as a dictionary in XAML4m 53s
-
(Locked)
Content as a dictionary in code1m 25s
-
(Locked)
-
-