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.
1 Answer, 1 is accepted
0
Miroslav Nedyalkov
Telerik team
answered on 27 Apr 2009, 03:44 PM
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)