RadDiagramShape's Content property ?

3 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    2 posts
    Member since:
    Oct 2011

    Posted 06 Nov 2012 Link to this post

    Hi,
        I am new in silverlight. Can any one please elaborate how to set an image as a "content property" of RadDiagramShape in code behind? 

    Thanks!
    Sandeep

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 08 Nov 2012 Link to this post

    Hello Sandeep,

    First you have to create an empty (null) RadDiagramShape after that you have to set it's content property to the desired Image. Ones this is done you have to add this shape into the Items collection of the RadDiagram control in order to show it.

    For more information about the usage of the control you can take a look at our help documentation. Also you can see implemented some scenarios in our demo projects.

    Find attached a project implementing the desired functionality and let me know if it works for you.

    All the best,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Sandeep
    Sandeep avatar
    2 posts
    Member since:
    Oct 2011

    Posted 09 Nov 2012 Link to this post

    Hi Pavlov,
                   Thanks for your help. It works fine and help me in a great way.

    Thanks!
    Sandeep
Back to Top