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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
.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.