Spread Windows Forms 12.0 Product Documentation
ShowTodayMark Property (DropDownCalendar)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class : ShowTodayMark Property
Gets or sets a value that indicates whether to show the today mark.
Syntax
'Declaration
 
Public Property ShowTodayMark As Boolean
'Usage
 
Dim instance As DropDownCalendar
Dim value As Boolean
 
instance.ShowTodayMark = value
 
value = instance.ShowTodayMark
public bool ShowTodayMark {get; set;}

Property Value

A bool value that indicates whether to show the today mark.The default is true.
Example
This example sets the ShowTodayMark property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
inputcell.DropDownCalendar.BackColor = Color.Aquamarine;
inputcell.DropDownCalendar.TodayMarkColor = Color.Firebrick;
inputcell.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle;
inputcell.DropDownCalendar.ShowTodayMark = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
fpSpread1.Sheets[0].Columns[0].Width = 100;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.DropDownCalendar.BackColor = Color.Aquamarine
inputcell.DropDownCalendar.TodayMarkColor = Color.Firebrick
inputcell.DropDownCalendar.BorderStyle = BorderStyle.FixedSingle
inputcell.DropDownCalendar.ShowTodayMark = True
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
fpSpread1.Sheets(0).Columns(0).Width = 100
See Also

Reference

DropDownCalendar Class
DropDownCalendar Members