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

ドロップダウンウィンドウの一重境界線の色を取得または設定します。
構文
'宣言
 
Public Property SingleBorderColor As Color
public Color SingleBorderColor {get; set;}

プロパティ値

デフォルト値はSystem.Drawing.SystemColors.WindowFrameです。
例外
例外解説
System.ArgumentExceptionメソッドに渡された引数のいずれかが無効な場合にスローされる例外。
解説
FixedSingleこの色は、BorderStyleが.の場合にのみ有効です。
使用例
次のサンプルコードは、SingleBorderColorプロパティを設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.DropDownCalculator.SingleBorderColor = Color.Orange;
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.DropDownCalculator.SingleBorderColor = Color.Orange
fpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
fpSpread1.ActiveSheet.Cells(1, 1).Value = 12.31
参照

DropDownCalculatorInfo クラス
DropDownCalculatorInfo メンバ

 

 


© MESCIUS inc. All rights reserved.