Gets or sets the maximum size, in pixels, for expanding the control. A control's width or hight cannot be larger than short.
public System.Drawing.Size MaxSize { get; set; }
Public Property MaxSize() As System.Drawing.Size
The following example uses the Max
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)