Version

ShowChildPanes() Method

Shows any child panes of the group that have been hidden.
Syntax
'Declaration
 
Public Overloads Overridable Sub ShowChildPanes() 
public virtual void ShowChildPanes()
Remarks

This method will examine each child pane in the group to determine whehter it is hidden. If so, the pane will be displayed. This has the effect of re-opening any panes that may have been closed by the user.

Example
The following example demonstrates the various methods for showing/re-opening one or more panes.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

Private Sub btnShowAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowAll.Click

    ' There are several options for showing a closed pane.

    ' You can call the 'Show' method of a specific pane. This
    ' essentially walks up the parent chain ensuring that all the
    ' parents are not closed.
    Me.ultraDockManager1.ControlPanes("treeSolutions").Show()

    ' You can use the ShowChildPanes of a specific group. This method
    'has an overload to optionally pin any unpinned control panes.
    ' The following method call is equivalent to calling
    ' Me.ultraDockManager1.DockAreas(0).ShowChildPanes(False)
    Me.ultraDockManager1.DockAreas(0).ShowChildPanes()


    ' Lastly, you can use the ShowAll method of the dock
    ' manager to have it iterate over its DockAreas collection
    Me.ultraDockManager1.ShowAll(False)

End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;

private void btnShowAll_Click(object sender, System.EventArgs e)
{

	// There are several options for showing a closed pane.

	// You can call the 'Show' method of a specific pane. This
	// essentially walks up the parent chain ensuring that all the
	// parents are not closed.
	this.ultraDockManager1.ControlPanes["treeSolutions"].Show();

	// You can use the ShowChildPanes of a specific group. This method
	// has an overload to optionally pin any unpinned control panes.
	// The following method call is equivalent to calling
	// this.ultraDockManager1.DockAreas[0].ShowChildPanes(false);
	this.ultraDockManager1.DockAreas[0].ShowChildPanes();


	// Lastly, you can use the ShowAll method of the dock
	// manager to have it iterate over its DockAreas collection
	this.ultraDockManager1.ShowAll(false);

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also