Back to Devexpress

SizingEventArgs Class

windowsforms-devexpress-dot-xtrabars-dot-docking-826e9fe9.md

latest2.4 KB
Original Source

SizingEventArgs Class

Provides data for the DockManager.Sizing event.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class SizingEventArgs :
    StartSizingEventArgs
vb
Public Class SizingEventArgs
    Inherits StartSizingEventArgs

SizingEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs DockPanelEventArgs DockPanelCancelEventArgs StartSizingEventArgs SizingEventArgs

See Also

SizingEventArgs Members

DevExpress.XtraBars.Docking Namespace