Verticle
and Horizontal
positions. To alter the course of the components, Orientation property is utilized.The accompanying specimen code demonstrates the case about the StackPanel
.
[html]
<StackPanel Orientation="Horizontal">
<Square Height="100" Width="100" Fill="Gray" Opacity="0.2"></Square>
<Square Height="100" Width="100" Fill="green" Opacity="0.4"></Square>
<Square Height="100" Width="100" Fill="yellow" Opacity="0.6"></Square>
</StackPanel>
[/html]