バージョン

Pin メソッド (DockablePaneBase)

すべての DockableControlPane 子孫ペインのピンを固定します。
シンタックス
'宣言
 
Public Overridable Sub Pin() 
public virtual void Pin()
解説

このメソッドは、フローティング DockArea ペインで呼び出すことができません。

使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

Private Sub btnPinAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPinAll.Click

    ' There are several options for re-pinning unpinned
    ' DockableControlPanes.

    ' You can re-pin an individual DockableControlPane
    Me.ultraDockManager1.PaneFromKey("treeSolutions").Pin()

    ' You can re-pin 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
    If Me.ultraDockManager1.DockAreas(0).DockedState = DockedState.Docked Then
        Me.ultraDockManager1.DockAreas(0).Pin()
    End If

    ' Or you can re-pin all unpinned panes
    Me.ultraDockManager1.PinAll()

End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;

private void btnPinAll_Click(object sender, System.EventArgs e)
{

	// There are several options for re-pinning unpinned
	// DockableControlPanes.

	// You can re-pin an individual DockableControlPane
	this.ultraDockManager1.PaneFromKey("treeSolutions").Pin();

	// You can re-pin 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
	if (this.ultraDockManager1.DockAreas[0].DockedState == DockedState.Docked)
		this.ultraDockManager1.DockAreas[0].Pin();

	// Or you can re-pin all unpinned panes
	this.ultraDockManager1.PinAll();

}
参照