Click here to Skip to main content
15,883,901 members
Articles / Silverlight / Silverlight4

Introduction to Shapes in Silverlight 4

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
7 Sep 2010CPOL1 min read 13.4K   2  
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

Image 4
Image 5

Image 6

This article was originally posted at http://www.kunal-chowdhury.com/feeds/posts/default

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:





Comments and Discussions

 
-- There are no messages in this forum --