WinUI 3 Diagrams
From a XAML File to Objects
StructureA page's markup, its two partial-class halves, and the objects they create.
Measure and Arrange
C4 · DynamicA panel measures every child, then arranges each one.
An Element in Its Layout Slot
StructureMargin, border, padding, and content inside the slot a parent assigns.
A List in a StackPanel vs a Star Row
StructureThe same ListView given unlimited height and given a finite row.
Container Recycling in a Virtualized List
C4 · DynamicContainers exist only near the viewport and are reused as items scroll.
A Frame's Back and Forward Stacks
C4 · DynamicHow Navigate and GoBack move pages between a frame's two stacks.
The Parts of a CommandBar
StructureContent, primary commands, and the overflow menu of an open command bar.
A Templated Control and Its Templates
StructureFixed control logic that finds its parts and states by name.
Where Each Binding Finds Its Source
Structurex:Bind starts at the page class, {Binding} at the inherited DataContext.
One Search Through View, View Model, and Model
C4 · DynamicHow typing, enabling, clicking, and results move between the three layers.
One UI Thread and Its Queue
FlowWork from other threads reaches XAML objects only through the queue.
One Service Scope per Window
StructureShared singletons in the root, and each window's services in its own scope.
How a Resource Reference Is Resolved
FlowThe search from the referencing element up to system resources, stopping at the first match.
Fluent Easing Curves
ChartProgress over time for the Fluent entrance and exit curves.
Regions of a Custom Title Bar
StructureWhich parts of an extended title bar drag the window and which take clicks.
How One Key Press Is Processed
FlowThe steps a key press passes through, from PreviewKeyDown up the tree.
Redirecting a Second Launch to the Running Instance
C4 · DynamicA second launch finds the running instance by key, hands over its activation, and exits.
Focus Crossing a XAML Island
FlowWhere an island sits inside a host window, and how Tab crosses its edge.
Where the Windows App SDK Runtime Lives
C4 · DeploymentApps sharing one serviced runtime, beside an app that carries its own copy.
Migrating a WPF App Screen by Screen
StructureA WPF window hosting a ported WinUI screen, with both UIs bound to one shared view model library.
A Composition Effect on a XAML Element
StructureHow a hand-in visual attaches to an element and gets its pixels.
WebView2 Processes and User Data Folders
C4 · DeploymentWhich browser process each WebView2 control uses, grouped by user data folder.
OAuth2Manager Sign-In Through a Redirect
C4 · DynamicHow the browser's redirect gets back to the app instance that started sign-in.
Elements, Automation Peers, and What Narrator Reads
StructureEach element's peer decides what a screen reader announces.
Found this useful? Share it:
Share on LinkedIn