Skip to main content
Tab

ASPxDateEdit.CalendarDayCellCreated Event

Occurs on the server side after a day cell has been created within an ASPxDateEdit control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event EventHandler<CalendarDayCellCreatedEventArgs> CalendarDayCellCreated

Event Data

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

Property Description
Controls Gets a control collection contained within a created day cell.
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.

Remarks

The CalendarDayCellCreated event serves as a notification that a day cell has been added to a control’s hierarchy. You can handle this event to populate the cell with custom controls using the event parameter’s CalendarDayCellCreatedEventArgs.Controls property.

You can use the event parameter’s properties to get the additional information about the processed day.

See Also