SizingEventArgs Class
Provides data for the DockManager.Sizing event.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
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.