Spread Windows Forms 11.0 Product Documentation
TodayMarkColor Property (DropDownCalendar)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : TodayMarkColor Property
Gets or sets the border color shown in the today area.
Syntax
'Declaration
 
Public Property TodayMarkColor As Color
'Usage
 
Dim instance As DropDownCalendar
Dim value As Color
 
instance.TodayMarkColor = value
 
value = instance.TodayMarkColor
public Color TodayMarkColor {get; set;}

Property Value

A System.Drawing.Color value that indicates the today mark border color.
Remarks
The property retrieves the border color of the today mark.
Example
This example sets the color for the today mark.
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
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members