Skip to main content
A newer version of this page is available. .

SizingEventArgs Class

Provides data for the DockManager.Sizing event.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.1.dll

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. The inherited DockPanelCancelEventArgs.Cancel property allows prohibiting the panel from being resized. 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