andrew4582

StackPanel Test Buttons

Jun 17th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.45 KB | None | 0 0
  1.  <StackPanel Orientation="Horizontal" Margin="5">
  2.             <StackPanel.Resources>
  3.                 <Style TargetType="Button">
  4.                     <Setter Property="Margin" Value="2,0"/>
  5.                     <Setter Property="MinWidth" Value="50"/>
  6.                 </Style>
  7.             </StackPanel.Resources>
  8.             <Button Name="testbutton" Content="Test"/>
  9.             <Button Name="testbutton2" Content="Test2"/>
  10.         </StackPanel>
Advertisement
Add Comment
Please, Sign In to add comment