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

Remove RadPane during Close

1 Answer 198 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 18 Jan 2011, 11:10 PM
Hi,
Is it possible to remove a RadPane from a RadDocking, instead of hiding it?
Ideally, I'd like to wire up the Close so that it removes the "closed" pane from the control.  Is this possible?

Thanks.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 24 Jan 2011, 09:54 AM
Hello Aaron,

 
Yes, it is possible. I would suggest you to use the RadPane.RemoveFromParent() method. Using this approach, make sure you don't keep any references to the RadPane or to its content. Otherwise, it won't be disposed.

Regards,
George
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Docking
Asked by
Aaron
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or