共用方式為


NodeShape.Anchoring Property

Definition

Gets the Anchoring behavior for this NodeShape.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior ^ Anchoring { Microsoft::VisualStudio::Modeling::Diagrams::AnchoringBehavior ^ get(); };
public Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior Anchoring { get; }
member this.Anchoring : Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior
Public ReadOnly Property Anchoring As AnchoringBehavior

Property Value

Remarks

The AnchoringBehavior describes how the NodeShape should position and size itself as the parent NodeShape moves and resizes.

Alter the returned BoundsBehavior object to describe how the NodeShape should reposition and resize itself.

Applies to