Property MaxLength
MaxLength
Gets or sets the maximum number of characters the user can enter into the control.
public override int MaxLength { get; set; }
Property Value
Remarks
If new max length is 0, the previously set max length limit, if any, is discarded and the user may enter as much text as the underlying native text control widget supports (typically at least 32Kb).