Close RadPane Instances

Each RadPane is closable by default via the Close button or the Hide menu item shown on the snapshots above.

You can also hide/show your RadPane instances programmatically using the boolean RadPane's property IsHidden. When a RadPane is closed it is actually hidden and you can always make it visible again when needed.

When you set the IsHidden property of a RadPane to True or close it, it is actually removed from the visual tree.

Example 1: Set IsHidden

<telerik:RadPane x:Name="radPane" IsHidden="True"/> 

Example 1: Set IsHidden

radPane.IsHidden = true; 
radPane1.IsHidden = True 

To learn how to disable the close button or how to handle the RadDocking's PreviewClose event take a look at the How to Disable the Close Button topic.

See Also

In this article
Not finding the help you need? Improve this article