XAML Layout in Depth

Pluralsight
Course Summary
This course will teach you to build professional user interfaces in XAML-based applications, understand the layout process, and learn about layout-properties, panels, transformations, projections, and advanced topics to create exciting layouts.
-
+
Course Description
This course is about layout in XAML-based applications. It focuses on all XAML platforms like WPF, WinRT and Silverlight. In this course, you'll learn how the layout process works, and how to build custom panels. You'll see how the different layout properties of elements like Width, Height, Alignments and Margin behave and when they have an effect and when they do not. After those basics, this course focuses on the different Panels available in XAML. You'll learn about the common Panels Grid, StackPanel and Canvas, but also about the VirtualizingStackPanel that is used by some ItemsControl for UI-Virtualization. This course also shows you how to use the WPF-specific Panels WrapPanel and DockPanel and the WinRT-specific Panel VariableSizedWrapGrid. After the Panels, we look at Transformations to rotate, scale, skew and translate (move) your elements. You'll also learn how to work with Projections to give your elements a 3D-like effect. With the knowledge about the layout process, about the properties of elements, about Panels, and about Transformations and Projections in the backpack, we look at advanced topics. You'll learn about the shared size groups supported by the Grid in the WPF, how to change the Panel of an ItemsControl, how to animate a position change of the elements in a Panel, and many other interesting things. Throughout this course, your knowledge is applied to an MVVM-based WPF-application called FriendViewer. The course teaches you how to build the complete layout of that FriendViewer application, including a pinnable navigation, a loading-overlay, a UserControl to display a friend, and a main area that re-positions elements dynamically with an animation.
-
+
Course Syllabus
Layout Basics- 52m 31s
—Introduction 0m 50s
—Course Outline 2m 26s
—Layout Base Classes 1m 40s
—The Layout Process 2m 19s
—Layout Process Participation 1m 40s
—The DiagonalPanel 7m 29s
—Layout Process Internals 5m 29s
—Dependency Properties 3m 52s
—Attached Properties 3m 33s
—The SimpleCanvas 8m 2s
—Layout Process Execution 1m 43s
—Trigger the Layout Process 9m 46s
—Summary 3m 36sLayout-properties of Elements- 29m 9s
—Introduction 0m 58s
—Alignments 2m 30s
—The VerticalStackPanel 5m 53s
—Width and Height 7m 2s
—The Margin 2m 9s
—The Visibility 4m 25s
—Using the Designer 2m 54s
—Summary 3m 16sPanels- 1h 13mTransformations and Projections- 1h 1mAdvanced Topics- 1h 8m