ComponentOne Input for WinForms
MaxLineCount Property

C1.Win.C1Input.4 Assembly > C1.Win.C1Input Namespace > C1TextBox Class : MaxLineCount Property
Gets or sets the maximum number of lines.
Syntax
'Declaration
 
Public Property MaxLineCount As System.Integer
public System.int MaxLineCount {get; set;}

Property Value

An int value that indicates the maximum number of lines.
The default is zero.
Remarks

MaxLineCount limits the acceptable lines of text when the Multiline property is true.

This property does not work with wrapped lines, so preferrable is to use MaxLineCount when System.Windows.Forms.TextBoxBase.WordWrap property is true.

The default value of this property, zero, means no limit.

See Also

Reference

C1TextBox Class
C1TextBox Members
Multiline Property