Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TextLengthValidator Class / MaximumLength Property


MaximumLength Property (TextLengthValidator)
Gets or sets the maximum length of the text.
Syntax
'Declaration
 
Public Property MaximumLength As Integer
 
'Usage
 
Dim instance As TextLengthValidator
Dim value As Integer
 
instance.MaximumLength = value
 
value = instance.MaximumLength

Property Value

The maximum length. The default is System.Int32.MaxValue.
Exceptions
ExceptionDescription
The assigned value is less than MinimumLength.
See Also