DiagramItemBoundsChangedEventArgs(DiagramControl, DiagramItem, DiagramItem, Int32, Point, Size, Double, DiagramItem, Int32, Point, Size, Double) Constructor
Initializes a new instance of the DiagramItemBoundsChangedEventArgs class.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.2.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
public DiagramItemBoundsChangedEventArgs(
DiagramControl source,
DiagramItem item,
DiagramItem oldParent,
int oldIndex,
Point oldPosition,
Size oldSize,
double oldAngle,
DiagramItem newParent,
int newIndex,
Point newPosition,
Size newSize,
double newAngle
)
Parameters
Name | Type | Description |
---|---|---|
source | DiagramControl | The DiagramControl that raised the event. |
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 | Point | The previous coordinates of the item’s upper left corner. |
oldSize | Size | A System.Windows.Size object that is the previous size of the item. |
oldAngle | Double | 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 | Point | The new coordinates of the item’s upper left corner. |
newSize | Size | A System.Windows.Size object that is the new size of the item. |
newAngle | Double | The new rotation angle (in degrees). |