Input for WinForms | ComponentOne
C1.Win.Input.Base Namespace / IDropDownEditorBase Interface / MaxLengthUnit Property

In This Topic
    MaxLengthUnit Property (IDropDownEditorBase)
    In This Topic
    Gets or sets whether the maximum number of characters that fit in the control are handled based on bytes, characters, or text elements.
    Syntax
    'Declaration
     
    
    Property MaxLengthUnit As LengthUnit
    LengthUnit MaxLengthUnit {get; set;}
    Remarks
    Determines the unit for counting for the MaxLength property. The value LengthUnit.Byte means the MaxLength is counted by Byte. The value LengthUnit.Char means the MaxLength is counted by Char.
    See Also