Modifier

Partager via


ToolStripComboBox.MaxLength Property

Definition

Gets or sets the maximum number of characters allowed in the editable portion of a combo box.

public:
 property int MaxLength { int get(); void set(int value); };
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer

Property Value

The maximum number of characters the user can enter. Values of less than zero are reset to zero, which is the default value.

Applies to