バージョン

UnpinAll メソッド

表示されていてピンが固定されているすべての DockableControlPane インスタンスのピンを解除します。
シンタックス
'宣言
 
Public Sub UnpinAll() 
public void UnpinAll()
使用例
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();

}
参照