Back to Devexpress

ASPxDateEdit.CalendarDayCellCreated Event

aspnet-devexpress-dot-web-dot-aspxdateedit-a10ecaf0.md

latest3.2 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event EventHandler<CalendarDayCellCreatedEventArgs> CalendarDayCellCreated
vb
Public Event CalendarDayCellCreated As EventHandler(Of CalendarDayCellCreatedEventArgs)

Event Data

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

PropertyDescription
ControlsGets a control collection contained within a created day cell.
DateGets the cell processed in the calendar. Inherited from CalendarPickerViewCellEventArgs.
IsOtherMonthDayGets a value that indicates whether the processed date is in a month other than the month displayed in the calendar. Inherited from CalendarDayEventArgs.
IsOtherPeriodDateReturns the value that specifies whether the processed cell doesn’t refer to the current period (month, year, century). Inherited from CalendarPickerViewCellEventArgs.
IsSelectedGets whether the cell has been selected. Inherited from CalendarPickerViewCellEventArgs.
IsWeekendGets 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

CalendarDayCellInitialize

CalendarDayCellPrepared

Date Editor

ASPxDateEdit Class

ASPxDateEdit Members

DevExpress.Web Namespace