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

Changing behavior of the Close Button of a RadPane

1 Answer 142 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Mario
Top achievements
Rank 1
Mario asked on 29 Oct 2016, 05:06 PM

I like to get the Tool panes in my MVVM docking scenario hidden if the user clicks th close button of the RadPane.

The default processing seems to close and remove the pane. I cannot get the pane shown again by setting the IsHidden property to false (discussed in some other threads).

Setting the CanUserClose property of the pane to false hides the close button completely.

Is there a way to either

- modify the behavior of the close button (hide the pane instead of closing it)   or

- put an additional button to the panes header, that lets me exceute my desired operations.

 

Thanks and Regards

Mario

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 01 Nov 2016, 08:42 AM
Hi Mario,

Please, check the following article from our documentation that provides detailed information how to put a Button to the Header of the Pane where you could implement your custom and desired functionality:
http://docs.telerik.com/devtools/wpf/controls/raddocking/how-to/add-buttons-to-the-pane-headers

Hope this helps.

Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
Docking
Asked by
Mario
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or