Creating a Simple Canvas in Silverlight using XAML

Below is a sample code snippet for creating a canvas control in Silverlight 5 using XAML.

Creating a Simple Canvas in Silverlight using XAML

<Canvas x:Name="ACCanvas" xmlns="http://schemas.microsoft.com/client/2007"

   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

   Background="Green" Width="400" Height="300" >

</Canvas>
Creating a Simple Canvas in Silverlight using XAML