Skip to content

StackPanel class

A panel that arranges children in a stack.

Guide: C# Markup reference: Panel

public class StackPanel : Panel
name description
StackPanel() The default constructor.
Orientation { get; set; } Gets or sets the axis along which children are stacked; the default is Vertical.
Spacing { get; set; } Gets or sets the spacing between children in DIPs.
static readonly OrientationProperty The axis along which children are stacked; the default is Vertical.
static readonly SpacingProperty The spacing between children in DIPs.