Save Diagram with differemt Diagram Title

2 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 27 May 2014 Link to this post


    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>
      <Groups />

    Best Regrads
  2. Martin
    Martin avatar
    1048 posts

    Posted 29 May 2014 Link to this post

    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";

    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.
  3. DevCraft banner
Back to Top