Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SizingEventArgs(DockPanel, SizingSide, Point, Size) Constructor

In This Article

Initializes a new instance of the SizingEventArgs class.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.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