このメソッドを呼び出すと、グループのすべてのペインのピン固定を解除します。ペインはドッキング領域からピン固定を解除されるようになり、これ以上縮小できません。ペインが UnpinnedTabArea に現在縮小された場合、即座にフライアウトされ表示されるようになります。すべてのタブが UnpinnedTabArea から削除され、UnpinnedTabArea は非表示になります。
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinDock Private Sub btnUnpinAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUnpinAll.Click ' There are several options for unpinning DockableControlPane ' instances ' You can unpin an individual DockableControlPane Me.ultraDockManager1.PaneFromKey("treeSolutions").Unpin() ' You can unpin all the descendants/children of a particular ' group pane. Note, since a DockAreaPane is a specialized ' DockableGroupPane, you can call the method on a ' dock area. The dock area/group must be docked though If Me.ultraDockManager1.DockAreas(0).DockedState = DockedState.Docked Then Me.ultraDockManager1.DockAreas(0).Unpin() End If ' Or you can unpin all docked control panes Me.ultraDockManager1.UnpinAll() End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinDock; using System.Diagnostics; private void btnUnpinAll_Click(object sender, System.EventArgs e) { // There are several options for unpinning DockableControlPane // instances // You can unpin an individual DockableControlPane this.ultraDockManager1.PaneFromKey("treeSolutions").Unpin(); // You can unpin all the descendants/children of a particular // group pane. Note, since a DockAreaPane is a specialized // DockableGroupPane, you can call the method on a // dock area. The dock area/group must be docked though if ( this.ultraDockManager1.DockAreas[0].DockedState == DockedState.Docked ) this.ultraDockManager1.DockAreas[0].Unpin(); // Or you can unpin all docked control panes this.ultraDockManager1.UnpinAll(); }