Hi,
The Visibility of the LayoutDocumentPane is evaluated in its method "GetVisibility()".
This methods will always return true except if the parent is a LayoutDocumentPaneGroup with no children.
You can always use your own LayoutDocumentPane class and override the "GetVisibility()" method :
The Visibility of the LayoutDocumentPane is evaluated in its method "GetVisibility()".
This methods will always return true except if the parent is a LayoutDocumentPaneGroup with no children.
You can always use your own LayoutDocumentPane class and override the "GetVisibility()" method :
public class MyLayoutDocumentPane : Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane
{
protected override bool GetVisibility()
{
//return true in some cases otherwise...
return false;
}
}