MobileForms Toolkit Documentation

ItemComboBox.MaxLength Property

Gets or sets the maximum number of characters the user can type or paste into the text box part of control.

public int MaxLength {get; set;}

Property Value

The number of characters that can be entered into the control. The default is 0.

Remarks

You can use this property to restrict the length of text entered in the control for values such as postal codes and telephone numbers, or to restrict the length of text entered when the data is to be entered in a database. You can limit the text entered into the control to the maximum length of the corresponding field in the database.

See Also

ItemComboBox Class | Resco.Controls.DetailView Namespace