Invoking this method unpins all of the panes in the group. The panes will become unpinned from the dock area, and can no longer be collapsed. If any pane is currently collapsed into the UnpinnedTabArea, it will immediately fly out and become visible. All tabs will be removed from the UnpinnedTabArea and the UnpinnedTabArea will be hidden.
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(); }
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