共用方式為


NodeShape.Location Property

Definition

Gets or sets the coordinates of the upper-left corner of the shape's bounds relative to the upper-left corner of its parent.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::PointD Location { Microsoft::VisualStudio::Modeling::Diagrams::PointD get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::PointD value); };
public Microsoft.VisualStudio.Modeling.Diagrams.PointD Location { get; set; }
member this.Location : Microsoft.VisualStudio.Modeling.Diagrams.PointD with get, set
Public Property Location As PointD

Property Value

Remarks

The coordinate system is in world units and increases positively down and to the right.

Applies to