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

今日の日付領域に表示される境界線の色を取得または設定します。
構文
'宣言
 
Public Property TodayMarkColor As Color
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 メンバ

 

 


© MESCIUS inc. All rights reserved.