다음을 통해 공유


TextField.GetAutoSize Method

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

‘선언
Public Overridable Function GetAutoSize ( _
    parentShape As ShapeElement _
) As Boolean
public virtual bool GetAutoSize(
    ShapeElement parentShape
)
public:
virtual bool GetAutoSize(
    ShapeElement^ parentShape
)
abstract GetAutoSize : 
        parentShape:ShapeElement -> bool 
override GetAutoSize : 
        parentShape:ShapeElement -> bool 
public function GetAutoSize(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

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

.NET Framework Security

See Also

Reference

TextField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace