GrapeCity SPREAD for Windows Forms 11.0J
TodayMarkColor プロパティ (DropDownCalendar)


今日の日付領域に表示される境界線の色を取得または設定します。
構文
'Declaration
 
Public Property TodayMarkColor As Color
'使用法
 
Dim instance As DropDownCalendar
Dim value As Color
 
instance.TodayMarkColor = value
 
value = instance.TodayMarkColor
public Color TodayMarkColor {get; set;}

プロパティ値

今日を示すマークの境界線の色を示す System.Drawing.Color 値。
解説
マークをカレンダー上に表示するかどうかは、 ShowTodayMark プロパティで指定します。
次のサンプルコードは、今日を示すマークの色を設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDownCalendar.ShowTodayMark = true;
inputcell.DropDownCalendar.TodayMarkColor = Color.Orange;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDownCalendar.ShowTodayMark = True
inputcell.DropDownCalendar.TodayMarkColor = Color.Orange
FpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
参照

DropDownCalendar クラス
DropDownCalendar メンバ

 

 


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