Arranges child elements into a single line horizontal or vertical.

Arranges child elements into a single line that can be either horizontal or vertical


This control measures in the direction of stacking at Double.PositiveInfinity

<stackpanel Name="StackPanel1" 
   <Label Content="Single" FontSize="15" />
   <Button> Button One</Button>

Similar to the WrapPanel except it does not wrap the content
Instead it stretches its content in one direction, allowing you to stack them
This control stretches its content by default, although this can be changed by overridding the HorizontalAlignment or VerticalAlignment properties of the child elements

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext