HTMLInputElement.MaxLength

HTMLInputElement.MaxLength property

Maximum number of characters for text fields, when typehas the value “text” or “password”. See the maxlength attribute definition in HTML 4.01.

public int MaxLength { get; set; }

See Also