Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Align left along StackPanel

<Page     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">     <StackPanel        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">       <Button HorizontalAlignment="Left"               Width="100"               Margin="10,10,10,10">Button 1</Button>                <Button HorizontalAlignment="Left"               Width="100"               Margin="10,10,10,10">Button 2</Button>       <Button HorizontalAlignment="Left"               Width="100"               Margin="10,10,10,10">Button 3</Button>         </StackPanel> </Page>