TextField.GetAutoSize(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual bool GetAutoSize(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual bool GetAutoSize (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetAutoSize : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
override this.GetAutoSize : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Overridable Function GetAutoSize (parentShape As ShapeElement) As Boolean
Parameters
- parentShape
- ShapeElement
Returns
Remarks
This option is not supported for multi-line text fields.