Positioning on a Canvas


   
     
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  HorizontalAlignment="Center" VerticalAlignment="Center">
    <Canvas Background="Yellow" Width="150" Height="100">
      <TextBlock Canvas.Left="10" Canvas.Top="20">Hello</TextBlock>
      <TextBlock Canvas.Right="10" Canvas.Bottom="20">world!</TextBlock>
    </Canvas>    
</Page>