ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Win.C1Input Namespace / C1DropDownControl Class / MaxLengthUnit Property

In This Topic
    MaxLengthUnit Property (C1DropDownControl)
    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
     
    Public Property MaxLengthUnit As LengthUnit
    public LengthUnit MaxLengthUnit {get; set;}
    Remarks
    Determines the unit for counting for the C1TextBox.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