次の方法で共有


TextField.GetAutoSize(ShapeElement) Method

Definition

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.

Applies to