Back to Devexpress

DockingEventArgs Class

windowsforms-devexpress-dot-xtrabars-dot-docking-c289466c.md

latest2.4 KB
Original Source

DockingEventArgs Class

Provides data for the DockManager.Docking event.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class DockingEventArgs :
    DockPanelCancelEventArgs
vb
Public Class DockingEventArgs
    Inherits DockPanelCancelEventArgs

DockingEventArgs is the data class for the following events:

Remarks

The DockManager.Docking event is fired repeatedly while an end-user is docking a panel. The DockingEventArgs class provides properties that identify the target control that the panel will be docked to (if it is dragged to the control it’s currently over), how the panel will be docked, whether the panel will represent a tab within the tab container if dropped ,etc.

The current docking operation can also be canceled by setting the DockPanelCancelEventArgs.Cancel property to true. This property is inherited from the DockPanelCancelEventArgs class.

DockingEventArgs objects are automatically created, initialized and passed to appropriate event handlers.

Inheritance

Object EventArgs DockPanelEventArgs DockPanelCancelEventArgs DockingEventArgs

See Also

DockingEventArgs Members

Docking

DevExpress.XtraBars.Docking Namespace