TextField::GetAutoSize Method (ShapeElement^)

 

If true, the text field's minimum required size will grow to accomodate the length of the diplay text. Autosizable text fields will still respect the minimum size specified in the AnchoringBehavior.

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

public:
virtual bool GetAutoSize(
	ShapeElement^ parentShape
)

Return Value

Type: System::Boolean

This option is not supported for multi-line text fields.

Return to top
Show: