Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemDateEdit.SpecialCalendarDate Event

Allows you to mark certain dates as “special” dates. These dates will be painted using the dedicated settings provided by the RepositoryItemDateEdit.AppearanceCalendar object.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

#Declaration

[DXCategory("Events")]
public event SpecialCalendarDateEventHandler SpecialCalendarDate

#Event Data

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

#Remarks

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 RepositoryItemDateEdit.AppearanceCalendar object.

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

Another way to mark specific dates as “special” is to use the RepositoryItemDateEdit.SpecialDateProvider property.

See Also