Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Introduction to Shapes in Silverlight 4

0.00/5 (No votes)
7 Sep 2010 1  
Introduction to Shapes in Silverlight 4

In earlier versions of Silverlight, there were very few shape controls like Rectangle, Ellipse available. But think of creating other shapes like Triangle, Polygon, Ring, etc. If you need one of them in the earlier Silverlight version, how will you implement them? In my next article, I will describe all of these to you.

image

I think many of you know about these. But for those who are not familiar with this, I am contributing it for them.

In Silverlight 4, you can easily do this with the help of already present shape controls. This comes with the Expression Blend SDK. In the next article, I will describe each Shape control. For now, I will just post all the shape controls available in Silverlight 4.

These shapes are part of Microsoft.Expression.Drawing.dll and hence to use them, you need to install the Expression Blend 4 in your PC first. If you didn’t install it till now, download the free trial version from Microsoft Expression site.

Here is the list of all the Shape controls:

    • Arc
    • Block Arrow
      • Block Arrow Down
      • Block Arrow Left
      • Block Arrow Up
      • Block Arrow Right
    • Callout
      • Callout Cloud
      • Callout Oval
      • Callout Rectangular
      • Callout Rounded Rectangular
    • Ellipse
    • Hexagon
    • Line Arrow
    • Pentagon
    • Pie
    • Rectangle
    • Ring
    • Star
    • Triangle

Wait for my next article, where I will describe about each control in depth. Till then, keep learning and follow me on my Blog & Twitter. Cheers… Thumbs up


License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here