This demo illustrates how to highlight dates that have appointments within the DateNavigator extension that is bound to the SchedulerStorageControl.
Change the demo's options to specify how to draw dates with appointments (AppointmentDatesHighlightMode), and if to display the Today button (CalendarProperties.ShowTodayButton) and week numbers (CalendarProperties.ShowWeekNumbers) in the DateNavigator extension.
Set the AppointmentDatesHighlightMode property to one of the following values to specify how to draw dates with appointments:
- Bold - Draws the date in bold.
- Labels - Displays colored labels under the date. The appointment's identification label (AppointmentLabel) determines the label's color for the corresponding date in the Date Navigator.
- Custom - Allows providing custom highlighting rules.
- None - Does not apply any highlighting to the date.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxSchedulerDemos