ToolStripComboBox.MaxLength 属性

定义

获取或设置组合框的可编辑部分允许的最大字符数。

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

属性值

用户可以输入的最大字符数。 小于零的值重置为零,这是默认值。

适用于