ShapeElement.DefaultSize Property

Gets the default size of the shape.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The default size of the shape.

Remarks

The base class behavior is to have default size of a ShapeElement be its minimum size.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace