This is a migrated thread and some comments may be shown as answers.

RadDiagramShape's Content property ?

2 Answers 109 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandeep
Top achievements
Rank 1
Sandeep asked on 06 Nov 2012, 06:16 AM
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 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 08 Nov 2012, 02:43 PM
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.

0
Sandeep
Top achievements
Rank 1
answered on 09 Nov 2012, 06:02 AM
Hi Pavlov,
               Thanks for your help. It works fine and help me in a great way.

Thanks!
Sandeep
Tags
Diagram
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Sandeep
Top achievements
Rank 1
Share this question
or