MESCIUS SPREAD for Windows Forms 15.0J
DropDown プロパティ (ColorPickerCellType)
使用例 

構文
'宣言
 
Public Property DropDown As Boolean
public bool DropDown {get; set;}
使用例
次のサンプルコードは、カラーピッカーがセルからドロップダウンするようにします。
FarPoint.Win.Spread.CellType.ColorPickerCellType cp = new FarPoint.Win.Spread.CellType.ColorPickerCellType();
cp.AnyColor = true;
cp.CustomColors = new int[] {
        255,
        190,
        50};
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText;
cp.DropDown = true;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cp;
Dim cp As New FarPoint.Win.Spread.CellType.ColorPickerCellType
cp.AnyColor = True
cp.CustomColors = New Integer() {255, 190, 50}
cp.Style = FarPoint.Win.Spread.CellType.ColorPickerStyle.BoxedWithText
cp.DropDown = True
fpSpread1.ActiveSheet.Cells(0, 0).CellType = cp
参照

ColorPickerCellType クラス
ColorPickerCellType メンバ

 

 


© MESCIUS inc. All rights reserved.