[]
Gets or sets the minimum number of visible lines. This is a dependency property.
public int MinLines { get; set; }
Public Property MinLines As Integer
Type | Description |
---|---|
int | The minimum number of visible lines. The default is 1. |
Getting this property returns the current value of MinLines. Setting this property causes the text box to resize if the number of visible lines is less than value specified by MinLines.
If the Height property is explicitly set on a GcTextBox, the MaxLines and MinLines property values are ignored.
Type | Condition |
---|---|
Exception | The assigned value is less than or equals to zero. |