Occurs on the server side after a day cell has been created within an ASPxDateEdit control.
public event EventHandler<CalendarDayCellCreatedEventArgs> CalendarDayCellCreated
Public Event CalendarDayCellCreated As EventHandler(Of CalendarDayCellCreatedEventArgs)
The CalendarDayCellCreated event's data class is CalendarDayCellCreatedEventArgs. The following properties provide information specific to this event:
|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.|
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.