GrapeCity SPREAD for Windows Forms 11.0J
SingleBorderColor プロパティ (DropDownCalculatorInfo)


ドロップダウンウィンドウの一重境界線の色を取得または設定します。
構文
'Declaration
 
Public Property SingleBorderColor As Color
'使用法
 
Dim instance As DropDownCalculatorInfo
Dim value As Color
 
instance.SingleBorderColor = value
 
value = instance.SingleBorderColor
public Color SingleBorderColor {get; set;}

プロパティ値

コントロールの境界線の色を指定するColor値。 既定値はColor [WindowFrame]です。
例外
例外説明
System.ArgumentException値が有効ではありません。
解説
このSystem.Drawing.Colorは、BorderStyleFixedSingleの場合にのみ有効です。
次のサンプルコードは、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 メンバ

 

 


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