Silverlight XAML Primer 2, Listing 1. Drawing A Rectangle and Ellipse in Silverlight Using XAML

<Canvas xmlns="http://schemas.microsoft.com/client/2007">

	<Rectangle Canvas.Top="25" Canvas.Left="25" 
	 Width="200" Height="150" Fill="Yellow" />

	<Ellipse Height="100" Width="100" Canvas.Left="10" Canvas.Top="10" 
   
	Stroke="Black" StrokeThickness="3" Fill="Blue"/>

</Canvas>
comments powered by Disqus
Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.