<Window x:Class="UniformGrid2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="UniformGrid - Mix and Match" Height="300" Width="300">
   <UniformGrid>
   <!--  First element, itself a container for others -->
     <StackPanel Background="Cyan">
       <TextBlock HorizontalAlignment="Center" Margin="3" Padding="2">
         Some Text
       </TextBlock>
       <Button HorizontalAlignment="Center" Padding="3">
         A Button to click
       </Button>
     </StackPanel>
     <!-- Second element -->
     <Image Source="Images/Loch View.jpg"   />
     <!-- Third element -->
     <Border BorderBrush="DarkGreen" BorderThickness="4">
       <StackPanel>
        <TextBlock Margin="3" Padding="2" HorizontalAlignment="Center"
          TextWrapping="WrapWithOverflow">
          Would you buy a used PC from this man?
        </TextBlock>
        <Image  HorizontalAlignment="Center"  MaxHeight="90" MaxWidth="90"
         VerticalAlignment ="Center" Source="Images/Ged MVP 1.jpg"  />
      </StackPanel>
    </Border>
     <!--  Fourth element, itself a container for others -->
     <StackPanel Background="SkyBlue">
       <Button HorizontalAlignment="Center" Padding="3" Margin="5">
         Another Button to click
       </Button>
       <TextBlock HorizontalAlignment="Center" Margin="3" Padding="2">
        Some More Text
       </TextBlock>
     </StackPanel>
     <!--  Fifth element, a StackPanel with checkboxes -->
     <StackPanel Background="LightBlue">
       <CheckBox Margin="3" Padding="3"> A CheckBox  </CheckBox>
       <CheckBox Margin="3" Padding="3"> Another CheckBox  </CheckBox>
       <CheckBox Margin="3" Padding="3"> A Third CheckBox  </CheckBox>
     </StackPanel>
   </UniformGrid>
</Window>