TextField.DefaultAutoSize Property
If true, the text field's minimum reported 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Property DefaultAutoSize As Boolean
public bool DefaultAutoSize { get; set; }
public:
property bool DefaultAutoSize {
bool get ();
void set (bool value);
}
member DefaultAutoSize : bool with get, set
function get DefaultAutoSize () : boolean
function set DefaultAutoSize (value : boolean)
Property Value
Type: Boolean
Remarks
This option is not supported for multi-line text fields.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.