Skip to main content

DiagramItem.Position Property

Gets or sets the coordinates of the item’s upper left corner.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v22.1.dll

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