Adding my own properties into settingspane of raddiagram on selection of shape

33 posts, 1 answers
  1. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 01 Oct 2013 Link to this post

    Hi Siva,

     How do you use these TextBox-es ? Do they display a ViewModel value or they directly edit a Shapes's Custom proeperty or label in their template ? What else do you save in the XML, do you need the whole diagram structure ? 

    Regards,
    Petar Mladenov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  2. Siva
    Siva avatar
    4 posts
    Member since:
    Jun 2013

    Posted 01 Oct 2013 Link to this post

    Hi Petar,

    Text Boxes directly edit a Shapes's Custom proeperty or label in their template , I  need the whole diagram structure into xml  format. And also i want to save the whole diagram which contains more than one shapes. i want to save all shapes same property with different values..those values i will give with the setting pane: my custom tab : text boxes for each shape

    Regards,
    J.Siva
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Oct 2013 Link to this post

    Hi Siva,

     Since you directly made changes to properties of the DiagramShapes (or class that inherits from RadDiagramShape / RadDiagramShapeBase) you can use the usual way of extending the Diagram Serialization process - by handling ShapeDeserialized and ShapeSerialized events. This technique is described in the following help article:
    Diagram Serialization => Section Extending Diagram Serialization

    Regards,
    Petar Mladenov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top