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

屬性值

使用者可以輸入的最大字元數。 小於零的值會重設為零 (亦即預設值)。

適用於