GrapeCity SPREAD for Windows Forms 12.0J
SingleBorderColor プロパティ (DropDownCalendar)


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

プロパティ値

コントロールの境界線の色を指定するColor値。 既定値はColor [WindowFrame]です。
例外
例外説明
System.ArgumentException値が有効ではありません。
解説
SingleBorderColor プロパティは、 BorderStyle プロパティが FixedSingleのときにのみ機能します。
次のサンプルコードは、SingleBorderColorプロパティを設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType gcDateTimeCell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
gcDateTimeCell1.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle;
gcDateTimeCell1.DropDownCalendar.SingleBorderColor = Color.DarkViolet;
fpSpread1.Sheets[0].Cells[1, 1].CellType = gcDateTimeCell1;
Dim gcDateTimeCell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
gcDateTimeCell1.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle
gcDateTimeCell1.DropDownCalendar.SingleBorderColor = Color.DarkViolet
FpSpread1.Sheets(0).Cells(1, 1).CellType = gcDateTimeCell1
参照

DropDownCalendar クラス
DropDownCalendar メンバ

 

 


Copyright © 2004 GrapeCity inc.