Skip to main content

ASPxDateEdit.CalendarDayCellPrepared Event

Occurs on the server side before a day cell has been rendered within an ASPxDateEdit control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public event EventHandler<CalendarDayCellPreparedEventArgs> CalendarDayCellPrepared

Event Data

The CalendarDayCellPrepared event's data class is CalendarDayCellPreparedEventArgs. The following properties provide information specific to this event:

Property Description
Cell Gets the currently processed cell of a calendar.
Date Gets the cell processed in the calendar. Inherited from CalendarPickerViewCellEventArgs.
IsOtherMonthDay Gets a value that indicates whether the processed date is in a month other than the month displayed in the calendar. Inherited from CalendarDayEventArgs.
IsOtherPeriodDate Returns the value that specifies whether the processed cell doesn’t refer to the current period (month, year, century). Inherited from CalendarPickerViewCellEventArgs.
IsSelected Gets whether the cell has been selected. Inherited from CalendarPickerViewCellEventArgs.
IsWeekend Gets a value that indicates whether the processed date is a weekend day.
TextControl Gets the text control contained within a processed day cell.


Write a CalendarDayCellPrepared event handler to customize the cell appearance before it is rendered. To customize the cell appearance, use the CalendarDayCellPreparedEventArgs.Cell and CalendarDayCellPreparedEventArgs.TextControl properties.

Other event parameter’s properties can be used to get the additional information about the processed day.

See Also