Compartilhar via


ShapeElement.DefaultSize Property

Gets the default size of the shape.

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

Syntax

'Declaração
Public Overridable ReadOnly Property DefaultSize As SizeD
    Get
public virtual SizeD DefaultSize { get; }
public:
virtual property SizeD DefaultSize {
    SizeD get ();
}
abstract DefaultSize : SizeD
override DefaultSize : SizeD
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