How to show RadPane back after I x it

2 posts, 0 answers
  1. Kashif Imran
    Kashif Imran avatar
    29 posts
    Member since:
    Apr 2009

    Posted 25 Apr 2009 Link to this post

    If I x a pane, how can I get it back? I guess it is only hidden because I have video in the pane and i can hear the sould.

    I tried setting IsHidden = false as well as IsSelected to true and .Visibility to Visible but it does not appear.
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 27 Apr 2009 Link to this post

    Hello Kashif Imran,

    If you hide the pane, IsHidden set to True should work as expected., If the pane is in a ToolWindow, it will not work as the pane will not be hidden at all, it will just be in a closed window. You can use this code to show the pane in any case:
    private static void ShowPane(RadPane pane) 
        if (pane.IsHidden) 
            pane.IsHidden = false
        var parentWindow = pane.ParentOfType<Telerik.Windows.Controls.Docking.ToolWindow>(); 
        if (parentWindow != null && parentWindow.Visibility == Visibility.Collapsed) 
            bool isDockable = pane.IsDockable; 
            if (!isDockable) 
            if (isDockable) 

    Miroslav Nedyalkov
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Back to Top