TXTextControl.TextControl.AutoControlSize Property

Gets or sets values that enable automatic expansion or shrinking of a Text Control's width or height depending on the currently contained text. These features are only possible, if the TextControl.ViewMode property has been set to SimpleControl. The property value is an object of the type AutoSize.

Introduced: 11.0.

Syntax

[C#]
public AutoSize AutoControlSize { get; set; }
[Visual Basic]
Public Property AutoControlSize() As AutoSize

See Also