Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TextLengthValidator Class / MaximumLength Property


In This Topic
    MaximumLength Property (TextLengthValidator)
    In This Topic
    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
    public int MaximumLength {get; set;}

    Property Value

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