NodeShape.Anchoring Property

Gets the anchor for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public ReadOnly Property Anchoring As AnchoringBehavior
'使用
Dim instance As NodeShape
Dim value As AnchoringBehavior

value = instance.Anchoring
public AnchoringBehavior Anchoring { get; }
public:
property AnchoringBehavior^ Anchoring {
    AnchoringBehavior^ get ();
}
public function get Anchoring () : AnchoringBehavior

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior

The anchor for the shape.

Remarks

The anchor defines how the shape repositions and resizes itself when its parent shape is moved and resized.

Permissions

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace