'宣言 Public Overloads Overridable Sub ShowChildPanes()
public virtual void ShowChildPanes()
このメソッドは、非表示かどうかを決定するためにグループ内の各子ペインを調査します。そうである場合、ペインが表示されます。これはユーザーによって閉じられている任意のペインを再度開くという効果があります。
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); }