DiagramItem.Position Property

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(typeof(PointFloat), "0,0")]
[DiagramCategory(DiagramCategory.Layout)]
[CustomAction(typeof(ActionAffectsConnectorsRouting))]
public virtual PointFloat Position { get; set; }
<DefaultValue(GetType(PointFloat), "0,0")>
<DiagramCategory(DiagramCategory.Layout)>
<CustomAction(GetType(ActionAffectsConnectorsRouting))>
Public Overridable Property Position As PointFloat

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