maxLength Property View Source maxLength The maximum character length of this element's TextField. -1 means no limit and it's the default. Declaration public int maxLength { get; set; } Property Value Int32