共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property NestedShapesMargin As SizeD
    Get
public virtual SizeD NestedShapesMargin { get; }
public:
virtual property SizeD NestedShapesMargin {
    SizeD get ();
}
abstract NestedShapesMargin : SizeD
override NestedShapesMargin : SizeD
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