Mega Code Archive

 
Categories / VB.Net / WPF
 

Resizing Buttons

<Window x:Class="Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="ResizingButtons" Height="269" Width="219">     <StackPanel Name="StackPanel1">         <Button Name="Button1" Height="48" Margin="5">1</Button>         <Button Height="48" Name="Button2" Margin="5">2</Button>         <Button Height="48" Name="Button3" Margin="5">3</Button>         <Button Height="48" Name="Button4" Margin="5">4</Button>     </StackPanel> </Window>