Simple Border

image_pdfimage_print


   
     

<Window x:Class="Content.SimpleBorder"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="SimpleBorder" Height="300" Width="300">
  <Border Margin="5" Padding="5" Background="LightYellow" 
          BorderBrush="SteelBlue" BorderThickness="3,5,3,5" CornerRadius="3"
          VerticalAlignment="Top">
    <StackPanel>
      <Button Margin="3">One</Button>
      <Button Margin="3">Two</Button>
      <Button Margin="3">Three</Button>
    </StackPanel>
  </Border>
</Window>