다음을 통해 공유


ToggleButtonField.GetMinimumSize(ShapeElement) Method

Definition

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.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::SizeD GetMinimumSize(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public override Microsoft.VisualStudio.Modeling.Diagrams.SizeD GetMinimumSize (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
override this.GetMinimumSize : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Overrides Function GetMinimumSize (parentShape As ShapeElement) As SizeD

Parameters

parentShape
ShapeElement

Returns

Applies to