Using Silverlight 2 Layout Controls: Listing 2

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

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

  <Line X1="280" Y1="10" X2="10" Y2="280"
   Stroke="Black" StrokeThickness="5"/>
  <TextBlock Name="tbCanvas"
   Canvas.Left="36" Canvas.Top="80"
   Foreground="Maroon" FontFamily="Verdana" FontSize="24"
   FontWeight="Bold" Text="Hello From Silverlight!">
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.