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


In This Topic
    LengthUnit Property
    In This Topic
    Gets or sets the LengthUnit used to validate the text length.
    Syntax
    'Declaration
     
    
    Public Property LengthUnit As LengthUnit
    'Usage
     
    
    Dim instance As TextLengthValidator
    Dim value As LengthUnit
     
    instance.LengthUnit = value
     
    value = instance.LengthUnit
    public LengthUnit LengthUnit {get; set;}

    Property Value

    The length unit. The default is LengthUnit.Char.
    Exceptions
    ExceptionDescription
    The assigned value is not a LengthUnit value.
    See Also