StackPanel
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Arranges child elements into a single line that can be oriented horizontally or vertically.
<StackPanel ...>
oneOrMoreUIElements
</StackPanel>
-or-
<StackPanel .../>
XAML Values
Methods
AddEventListener, CaptureMouse, Equals, FindName (DependencyObject), GetHost, GetParent, GetValue, ReleaseMouseCapture, RemoveEventListener, SetValue
Properties
Background (Elements), Canvas.Left, Canvas.Top, Canvas.ZIndex, Children (Panel), Clip, Cursor, Effect (Silverlight 3), Grid.Column, Grid.ColumnSpan, Grid.Row, Grid.RowSpan, Height (UIElement), HorizontalAlignment, IsHitTestVisible, IsItemsHost (Silverlight 3), Language (UIElement), Margin, MaxHeight, MaxWidth, MinHeight, MinWidth, Name (DependencyObject), Opacity (UIElement), Orientation, OpacityMask, Projection (Silverlight 3), RenderTransform, RenderTransformOrigin, Resources, Style, Tag, TextOptions.TextHintingMode (Silverlight 3), Triggers, UseLayoutRounding, VerticalAlignment, Visibility, Width (UIElement)
Events
GotFocus, KeyDown, KeyUp, Loaded, LostFocus, MouseEnter, MouseLeave, MouseLeftButtonDown, MouseLeftButtonUp, MouseMove, MouseWheel (Silverlight 3)
Version Information
Silverlight 2