Skip to main content

DiagramItemBoundsChangedEventArgs(DiagramItem, DiagramItem, Int32, PointFloat, SizeF, Single, DiagramItem, Int32, PointFloat, SizeF, Single) Constructor

Initializes a new instance of the DiagramItemBoundsChangedEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

public DiagramItemBoundsChangedEventArgs(
    DiagramItem item,
    DiagramItem oldParent,
    int oldIndex,
    PointFloat oldPosition,
    SizeF oldSize,
    float oldAngle,
    DiagramItem newParent,
    int newIndex,
    PointFloat newPosition,
    SizeF newSize,
    float newAngle
)

Parameters

Name Type Description
item DiagramItem

A DiagramItem object representing the diagram item.

oldParent DiagramItem

A DiagramItem object representing the item’s previous parent.

oldIndex Int32

The item’s previous index within the Items collection of its parent.

oldPosition PointFloat

The previous coordinates of the item’s upper left corner.

oldSize SizeF

The previous size.

oldAngle Single

The previous rotation angle (in degrees).

newParent DiagramItem

A DiagramItem object representing the item’s new parent.

newIndex Int32

The item’s new index within the Items collection of its parent.

newPosition PointFloat

The new coordinates of the item’s upper left corner.

newSize SizeF

The new size.

newAngle Single

The new rotation angle (in degrees).

See Also