Redigera

Dela via


ComboBox.MaxLength Property

Definition

Gets or sets the number of characters a user can type into the ComboBox.

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 a user can enter. Values of less than zero are reset to zero, which is the default value.

Applies to