Skip to main content

SizingEventArgs Class

Provides data for the DockManager.Sizing event.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class SizingEventArgs :
    StartSizingEventArgs

Remarks

The DockManager.Sizing event fires when the dock panel is being resized. The SizingEventArgs class provides properties that allow the processed dock panel, the edge of which is being dragged, and the current mouse pointer’s coordinates to be identified. Use the DockPanelCancelEventArgs.Cancel property to allow/prohibit resize operations. If this property is set to true, the DockManager.Sizing event fires but the panel’s size isn’t changed. This can be useful if it’s necessary to restrict end-users from changing the dock panel’s width or height.

SizingEventArgs objects are automatically created, initialized and passed to DockManager.Sizing event handlers.

See Also