Back to Devexpress

DockPanelEventHandler Delegate

windowsforms-devexpress-dot-xtrabars-dot-docking-786ab2cc.md

latest1.6 KB
Original Source

DockPanelEventHandler Delegate

Represents a method that will handle the dock panel events.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public delegate void DockPanelEventHandler(
    object sender,
    DockPanelEventArgs e
);
vb
Public Delegate Sub DockPanelEventHandler(
    sender As Object,
    e As DockPanelEventArgs
)

Parameters

NameTypeDescription
senderObject

The event sender. Identifies the dock manager that raised the event.

| | e | DockPanelEventArgs |

A DockPanelEventArgs object that contains event data.

|

Remarks

When you create a DockPanelEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraBars.Docking Namespace