StackPanel How-to Topics

The topics in this section describe how to use the StackPanel element to stack content horizontally or vertically.

In This Section

Choose Between StackPanel and DockPanel
Create a StackPanel
Horizontally or Vertically Align Content in a StackPanel

Reference

Panel

Canvas

DockPanel

Grid

StackPanel

VirtualizingStackPanel

WrapPanel

Layout

Walkthrough: My first WPF desktop application

ScrollViewer Overview