'Declaration Public Overridable Property AutoHeight As Boolean
'Usage Dim instance As SuperEditBase Dim value As Boolean instance.AutoHeight = value value = instance.AutoHeight
public virtual bool AutoHeight {get; set;}
'Declaration Public Overridable Property AutoHeight As Boolean
'Usage Dim instance As SuperEditBase Dim value As Boolean instance.AutoHeight = value value = instance.AutoHeight
public virtual bool AutoHeight {get; set;}
If you set the TextWrap property to true, you might want to set the AutoHeight property to false. The automatic height is based on the font height of one row of text. If the AutoHeight property is true and the text wraps, the height of the control does not change and only one line of text is displayed.
control.Text = "Font"; Font fvalue = new Font("Comic Sans MS",14,System.Drawing.FontStyle.Bold); control.Font = fvalue; control.AutoHeight = true;
control.Text = "Font" Dim fvalue As Font fvalue = New Font("Comic Sans MS", 14, FontStyle.Bold) control.Font = fvalue control.AutoHeight = True