Hello. I have one problem. When I click button "Close" on RadDocumentPane I see that pane is closed. But when I try to save layout I see that this pane is hidden. I need to disable hidding pane when I click button "Close". How ca I do it? Thanks.
1 Answer, 1 is accepted
0
Vladi
Telerik team
answered on 11 Mar 2013, 03:17 PM
Hi Sergey,
By design when a Pane's Close button is pressed the its IsHidden property is set to True, this is done in order to be able to show the closed Pane at a later stage if needed.
You can permanently remove the Pane by calling its RemoveFromParent() method. You could do that in the Close event of the Docking control. The next code snippet shows the described approach:
in the xaml: