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

Keep Customized Settingpane's showing

3 Answers 64 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 22 Jul 2013, 03:07 AM
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.

3 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 24 Jul 2013, 01:18 PM
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 >>
0
Vincent
Top achievements
Rank 1
answered on 31 Jul 2013, 05:32 AM
How to reopen the settingpan in code as the settingpane is a Usercontrol? Could you please give a sample?
0
Pavel R. Pavlov
Telerik team
answered on 02 Aug 2013, 02:37 PM
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 >>
Tags
Diagram
Asked by
Vincent
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Vincent
Top achievements
Rank 1
Share this question
or