Keep Customized Settingpane's showing

4 posts, 0 answers
  1. Vincent
    Vincent avatar
    6 posts
    Member since:
    Jul 2013

    Posted 21 Jul 2013 Link to this post

    Hi Experts,

    I have done a customized settingspane referenced to the MindMap example(But I change the RadDiagramShape instead of MindmapRootShape in example case). And in the my settingspane, I have a button to open a new window, when the window closed, the settingspane will be closed by default.

    What I want is to keep its showing. Or when the window closed, the settingspane should be show again. How to do it like this ? Thanks  very much. It is appreciate if you can provide me a simple example.
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 24 Jul 2013 Link to this post

    Hi Vincent,

    I assume that you are using the RadWindow control. I am happy to inform you that there is an easy way to achieve your requirement.

    Basically when you create the RadWindow control you can subscribe to its Closed() event. Furthermore, in its handler you can reopen the customized setting pane. Please give this approach a try and let me know if it works for you.

    Regards,
    Pavel R. Pavlov
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vincent
    Vincent avatar
    6 posts
    Member since:
    Jul 2013

    Posted 31 Jul 2013 Link to this post

    How to reopen the settingpan in code as the settingpane is a Usercontrol? Could you please give a sample?
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 02 Aug 2013 Link to this post

    Hi Vincent,

    Our MindMap example uses customized shapes and in the Template of the shapes we use RadGeometryDropDownButton and in its DropDownContent we visualize the customized control which is used like SettingsPane. So if you follow the exact same approach you can set its IsOpen property in the handler of the Closed() event of the RadWindow control in order to achieve your requirement.

    Regards,
    Pavel R. Pavlov
    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