DockManager.StartSizing Event
Enables specifying whether end-users can resize the dock panels.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The StartSizing event's data class is StartSizingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets whether the operation performed on the processed panel should be cancelled. Inherited from DockPanelCancelEventArgs. |
Panel | Gets the processed dock panel. Inherited from DockPanelEventArgs. |
SizingSide | Gets the edge of the dock panel which is being dragged. |
Remarks
End-users can resize dock panels by dragging their borders. The StartSizing event fires immediately after an end-user has pressed the mouse button while the mouse cursor is located over a panel’s border.
The event parameter’s DockPanelEventArgs.Panel property identifies the panel which is about to be resized. The StartSizingEventArgs.SizingSide property represents the dock panel’s dragging edge. To cancel the resizing operation before it’s started set the event’s DockPanelCancelEventArgs.Cancel parameter to true.
Refer to the Controlling Resizing Operations document for more information.