共用方式為


ShapeElement.NestedShapesMargin Property

Gets the margin between the shape's bounding box and its nested node shapes.

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

Syntax

'Declaration
Public Overridable ReadOnly Property NestedShapesMargin As SizeD
public virtual SizeD NestedShapesMargin { get; }
public:
virtual property SizeD NestedShapesMargin {
    SizeD get ();
}
abstract NestedShapesMargin : SizeD with get 
override NestedShapesMargin : SizeD with get
function get NestedShapesMargin () : SizeD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The margin between the shape's bounding box and its nested node shapes.

Remarks

This margin provides a region along the perimeter of the shape, through which link shapes can route.

You can override this property.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace