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


In This Topic
CountWrappedLine Property
In This Topic
Gets or sets a bool value that indicates whether to count the wrapped lines when limiting the number of lines allowed by the MaxLineCount property.
Syntax
'Declaration
 
Public Property CountWrappedLine As Boolean
 
'Usage
 
Dim instance As GcTextBox
Dim value As Boolean
 
instance.CountWrappedLine = value
 
value = instance.CountWrappedLine

Property Value

A bool that indicates whether to count the wrapped lines.
The default is false.
Remarks
If the CountWrappedLine property is true, set the Multiline property to true, and set the MaxLineCount property to a non-zero value. This GcTextBox only accepts text with lines that are less than the MaxLineCount value.
See Also