Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Vertical StackPanel

<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="Vertical">             <Button Width="200">First</Button>             <Button Width="200">First</Button>                                             </StackPanel>     </ScrollViewer> </Window>