Skip to main content

SizingEventArgs(DockPanel, SizingSide, Point, Size) Constructor

Initializes a new instance of the SizingEventArgs class.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public SizingEventArgs(
    DockPanel panel,
    SizingSide sizingSide,
    Point ptClient,
    Size newSize
)

Parameters

Name Type Description
panel DockPanel

A DockPanel object which represents the processed dock panel. This value is assigned to the DockPanelEventArgs.Panel property.

sizingSide DevExpress.XtraBars.Docking.SizingSide

A DevExpress.XtraBars.Docking.SizingSide enumeration member which represents the edge of the dock panel being dragged. This value is assigned to the StartSizingEventArgs.SizingSide property.

ptClient Point

A Point structure which specifies the current coordinates of the mouse pointer, in client coordinates. This value is assigned to the SizingEventArgs.PtClient property.

newSize Size

A System.Drawing.Size structure which specifies the dock panel’s new size. This value is assigned to the SizingEventArgs.NewSize property.

See Also