Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / MaxLineCount Property


In This Topic
MaxLineCount Property (GcTextBox)
In This Topic
Gets or sets the maximum number of lines.
Syntax
'Declaration
 
Public Property MaxLineCount As Integer
 
'Usage
 
Dim instance As GcTextBox
Dim value As Integer
 
instance.MaxLineCount = value
 
value = instance.MaxLineCount

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 CountWrappedLine property is true and the GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.Muilitline property is true as well. The default value of this property, zero, means no limit.
See Also