PowerTools CalendarGrid for Windows Forms 1.0J
MaxLength プロパティ (CalendarComboBoxCellType)

コンボボックスの編集可能部分に入力できる最大の文字数を取得または設定します。
構文
Public Property MaxLength As Integer
public int MaxLength {get; set;}

プロパティ値

ユーザーが入力できる最大の文字数を表す System.Int32 値。既定値は 0 です。
解説

このプロパティに 0 未満の値を設定すると、値が 0(既定値)にリセットされます。

既定値は 0 で、MaxLength が制限されないことを意味します。

このプロパティは、DropDownStyleCalendarGridComboBoxStyle.DropDown の場合にのみ有効です。項目値の長さが MaxLength プロパティより長い場合でも、その値を選択することは可能です。

参照

CalendarComboBoxCellType クラス
CalendarComboBoxCellType メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.