Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Button Padding and HorizontalAlignment

<Window x: Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="ScrollViewerWindow" Height="222" Width="250">     <ScrollViewer>         <StackPanel Orientation="Horizontal">             <Button Padding="10 4" HorizontalAlignment="Right">Fifth</Button>         </StackPanel>     </ScrollViewer> </Window>