WPF C#

      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">
    
        
          
            An image in a block container
          

          
            
          

          
            An inline UI container: