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

Save Diagram with differemt Diagram Title

1 Answer 35 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 27 May 2014, 01:42 PM
Hi,

if I save a Diagram, I get this "<Title>Diagram [27.05.2014 14:54:20]</Title>" in the saved XML-File. How
do I set a different text her and can I get this text on loading the diagram?

<RadDiagram Version="2013.1">
  <Metadata Type="Telerik.Windows.Controls.RadDiagram" Id="eec698bd-3ac2-43bc-8c6e-f9e82a919886" Zoom="1" IsSnapEnabled="true" SnapX="20" SnapY="20">
    <Title>Diagram [27.05.2014 14:54:20]</Title>
    <Description></Description>
  </Metadata>
  <Groups />
...

Thanks
Best Regrads
Rene

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 29 May 2014, 10:23 AM
Hi Rene,

In order to get/set the Title that is generated in the xml file you can use the RadDiagram.Metadata.Title property. Here is an example in code:
this.diagram.Metadata.Title = "My Diagram new title";

Regards,
Martin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Diagram
Asked by
ITA
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or