<Window x:Class="CanvasTest.MainWindow"
xmlns=""
xmlns:x=""
Title="MainWindow" Height="350" Width="525">
<Grid>
<Canvas Height="232" HorizontalAlignment="Left" Margin="12,12,0,0" Name="canvas1" VerticalAlignment="Top" Width="467"></Canvas>
<Button Content="Button" Height="23" Name="button1" Width="75" Click="button1_Click" Margin="12,265,416,23" />
</Grid>
</Window>