DiagramItem.Position Property
Gets or sets the coordinates of the item’s upper left corner relative to the diagram canvas.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v26.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
[CustomAction(typeof(ActionAffectsConnectorsRouting))]
[DefaultValue(typeof(PointFloat), "0,0")]
[DiagramCategory(DiagramCategory.Layout)]
public virtual PointFloat Position { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| PointFloat | "0,0" | The coordinates of the item’s upper left corner. |
Remarks
For items within a container, the DiagramItem.Position property specifies the coordinates of the item’s upper left corner relative to the container.
See Also