The Auto
public class AutoSizePublic Class AutoSize Introduced: 11.0.
The following example shows how to set up a Text
textControl1.ViewMode = TXTextControl.ViewMode.SimpleControl;
textControl1.AutoControlSize.AutoExpand = TXTextControl.AutoSizeDirection.Horizontal;
textControl1.AutoControlSize.AutoShrink = TXTextControl.AutoSizeDirection.Horizontal;
textControl1.AutoControlSize.MaxSize = new System.Drawing.Size(600, 600);TextControl1.ViewMode = TXTextControl.ViewMode.SimpleControl
TextControl1.AutoControlSize.AutoExpand = TXTextControl.AutoSizeDirection.Horizontal
TextControl1.AutoControlSize.AutoShrink = TXTextControl.AutoSizeDirection.Horizontal
TextControl1.AutoControlSize.MaxSize = New System.Drawing.Size(600, 600)| Constructor | Description |
|---|---|
| Auto |
Initializes a new instance of the Auto |
| Property | Description |
|---|---|
| Auto |
Gets or sets possible directions for expanding the control. |
| Auto |
Gets or sets possible directions for shrinking the control. |
| Max |
Gets or sets the maximum size, in pixels, for expanding the control. |
| Min |
Gets or sets the minimum size, in pixels, for shrinking the control. |