Back to Devexpress

RepositoryItemDateEdit.SpecialCalendarDate Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-be2a7816.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event SpecialCalendarDateEventHandler SpecialCalendarDate
vb
<DXCategory("Events")>
Public Event SpecialCalendarDate As SpecialCalendarDateEventHandler

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

SpecialDateProvider

AppearanceCalendar

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace