Share via


ToggleButtonField.GetMinimumSize Method

Returns the minimum size of the ImageField, which is the size of the image to be displayed, or the minimum size specified in the AnchoringBehavior, whichever is larger. If the shape field is unscaled, then the AnchoringBehavior size is always used.

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 Overrides Function GetMinimumSize ( _
    parentShape As ShapeElement _
) As SizeD
public override SizeD GetMinimumSize(
    ShapeElement parentShape
)
public:
virtual SizeD GetMinimumSize(
    ShapeElement^ parentShape
) override
abstract GetMinimumSize : 
        parentShape:ShapeElement -> SizeD  
override GetMinimumSize : 
        parentShape:ShapeElement -> SizeD
public override function GetMinimumSize(
    parentShape : ShapeElement
) : SizeD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD

.NET Framework Security

See Also

Reference

ToggleButtonField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace