Click or drag to resize

TextBoxMaxLength Property

Gets or sets the maximum length of the text that can be entered in the control, 0 for no limit.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
public int MaxLength { get; set; }

Property Value

Type: Int32
The maximum length of the text in the control.
This typically does not affect the value set using Text, only the limit of what the user can enter into the control.
See Also