Delen via


CalendarDatePicker.CalendarViewDayItemChanging Event

Definition

Occurs when a CalendarViewDayItem is loading in the picker's CalendarView.

// Register
event_token CalendarViewDayItemChanging(CalendarViewDayItemChangingEventHandler const& handler) const;

// Revoke with event_token
void CalendarViewDayItemChanging(event_token const* cookie) const;

// Revoke with event_revoker
CalendarDatePicker::CalendarViewDayItemChanging_revoker CalendarViewDayItemChanging(auto_revoke_t, CalendarViewDayItemChangingEventHandler const& handler) const;
public event CalendarViewDayItemChangingEventHandler CalendarViewDayItemChanging;
function onCalendarViewDayItemChanging(eventArgs) { /* Your code */ }
calendarDatePicker.addEventListener("calendarviewdayitemchanging", onCalendarViewDayItemChanging);
calendarDatePicker.removeEventListener("calendarviewdayitemchanging", onCalendarViewDayItemChanging);
- or -
calendarDatePicker.oncalendarviewdayitemchanging = onCalendarViewDayItemChanging;
Public Custom Event CalendarViewDayItemChanging As CalendarViewDayItemChangingEventHandler 
<CalendarDatePicker CalendarViewDayItemChanging="eventhandler"/>

Event Type

Remarks

This method is comes from the CalendarDatePicker's internal CalendarView. For more info, see CalendarView.CalendarViewDayItemChanging.

Applies to

See also