A newer version of this page is available. Switch to the current version.

CalendarControlBase.SpecialCalendarDate Event

Allows you to mark certain dates as "special" dates. These dates will be painted using the dedicated settings provided by the CalendarControlBase.CalendarAppearance object.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll


public event SpecialCalendarDateEventHandler SpecialCalendarDate

Event Data

The SpecialCalendarDate event's data class is DevExpress.XtraEditors.Calendar.SpecialCalendarDateEventArgs.


Use the event's IsSpecial parameter to mark certain dates as "special" These dates will be painted using the following appearance properties provided by the CalendarControlBase.CalendarAppearance object, according to cell states.

  • DayCellSpecial
  • DayCellSpecialDisabled
  • DayCellSpecialHighlighted
  • DayCellSpecialInactive
  • DayCellSpecialPressed
  • DayCellSpecialSelected

Another way to mark specific dates as "special" is to use the CalendarControlBase.SpecialDateProvider property.

See Also