GrapeCity SPREAD for Windows Forms 11.0J
DropDown プロパティ (GcNumberCellType)


ドロップダウン機能のドロップダウン設定を取得します。
構文
'Declaration
 
Public ReadOnly Property DropDown As DropDownInfo
'使用法
 
Dim instance As GcNumberCellType
Dim value As DropDownInfo
 
value = instance.DropDown
public DropDownInfo DropDown {get;}

プロパティ値

ドロップダウン機能のドロップダウン設定を示すDropDownインスタンス。
解説
この DropDown プロパティを設定することで、ドロップダウンの動作とウィンドウの外観をカスタマイズできます。このプロパティは、ドロップダウンを表示するかどうか、ドロップダウンをサイズ変更可能にするかどうか、ドロップダウンウィンドウの方向、ドロップダウンウィンドウの影、および開閉時のアニメーションを指定します。
次のサンプルコードは、ドロップダウン電卓が開かないようにします。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.DropDown.AllowDrop = false;
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
fpSpread1.ActiveSheet.Cells[1, 1].Value = 12.31;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.DropDown.AllowDrop = False
FpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
FpSpread1.ActiveSheet.Cells(1, 1).Value = 12.31
参照

GcNumberCellType クラス
GcNumberCellType メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.