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
'Declaration
Public Overridable ReadOnly Property DefaultSize As SizeD
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
- 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.