MaxLengthUnit Property (GcTextBox)
Gets or sets whether the maximum number of characters that fit in the control are handled based on bytes, characters, or text elements.
'Declaration
Public Property MaxLengthUnit As LengthUnit
'Usage
Dim instance As GcTextBox
Dim value As LengthUnit
instance.MaxLengthUnit = value
value = instance.MaxLengthUnit
Property Value
true if the
MaxLength is based on byte; otherwise, based on character.
The default is
LengthUnit.Char.