'Declaration Public Overloads Overridable Sub ShowChildPanes( _ ByVal pinChildPanes As Boolean _ )
public virtual void ShowChildPanes( bool pinChildPanes )
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.
You can specify whether the panes that are shown should be pinned. Pinning the unhidden panes makes them available to the user but does not immediately display them and alter the layout of panes in the group. (Unexpectedly altering the group's layout of visible panes has the potential to confuse the user. By pinning the unhidden panes, only the UnpinnedTabArea changes appearance.)
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); }
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