CalendarDatePicker.CalendarViewDayItemChanging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.