Gets the anchoring behavior for the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public ReadOnly Property AnchoringBehavior As AnchoringBehavior
'使用
Dim instance As ShapeField
Dim value As AnchoringBehavior
value = instance.AnchoringBehavior
public AnchoringBehavior AnchoringBehavior { get; }
public:
property AnchoringBehavior^ AnchoringBehavior {
AnchoringBehavior^ get ();
}
public function get AnchoringBehavior () : AnchoringBehavior
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior
The anchoring behavior for the shape field.
Remarks
The anchoring behavior describes how the shape field should position itself when its parent shape is moved and resized.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.