コンボボックス型セルが編集状態に入るときにドロップダウンウィンドウが自動的に表示されるかどうかを示す
System.Boolean 値を取得または設定します。これは依存関係プロパティです。
public bool AutoOpenDropDown {get; set;}
'Declaration
Public Property AutoOpenDropDown As Boolean
プロパティ値
System.Boolean 値。ドロップダウン可能なセルがフォーカスを受け取ったときにドロップダウンウィンドウが自動的に表示される場合は
true。それ以外の場合は
false。既定値は
false です。
次のサンプルは
NumberCellTypeを作成しスピンボタンおよびドロップボタンの表示設定を行います。
public void CreateNumberCell2()
{
NumberCellType numberCellType1 = new NumberCellType();
numberCellType1.DropDownButtonVisibility = CellButtonVisibility.AlwaysShow;
numberCellType1.SpinButtonVisibility = CellButtonVisibility.NotShow;
numberCellType1.AutoOpenDropDown = true;
this._gcSpreadGrid1[0, 0].CellType = numberCellType1;
}
Public Sub CreateNumberCell2()
Dim numberCellType1 As New NumberCellType()
numberCellType1.DropDownButtonVisibility = CellButtonVisibility.AlwaysShow
numberCellType1.SpinButtonVisibility = CellButtonVisibility.NotShow
numberCellType1.AutoOpenDropDown = True
Me._gcSpreadGrid1(0, 0).CellType = numberCellType1
End Sub