Version

Pane Property (PaneEventArgs)

DockablePaneBase instance associated with the event. This property is read-only.
Syntax
'Declaration
 
Public ReadOnly Property Pane As DockablePaneBase
public DockablePaneBase Pane {get;}
Example
The following code listens to the AfterDockChange event to log when panes have been repositioned.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

Private Sub ultraDockManager1_AfterDockChange(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDock.PaneEventArgs) Handles ultraDockManager1.AfterDockChange

    ' The AfterDockChange provides a notification after
    ' the drag operation for a pane has completed.
    '

    ' Log which pane was moved
    Debug.Write(String.Format("The '{0}' pane was repositioned", e.Pane))

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

private void ultraDockManager1_AfterDockChange(object sender, Infragistics.Win.UltraWinDock.PaneEventArgs e)
{

	// The AfterDockChange provides a notification after
	// the drag operation for a pane has completed.
	//

	// Log which pane was moved
	Debug.Write( string.Format("The '{0}' pane was repositioned", e.Pane ) );

}
Requirements

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

See Also