Partilhar via


CalendarDatePicker.CalendarViewDayItemChanging Evento

Definição

Ocorre quando um CalendarViewDayItem está carregando no CalendarView do seletor.

// 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"/>

Tipo de evento

Comentários

Esse método é proveniente do CalendarView interno do CalendarDatePicker. Para obter mais informações, consulte CalendarView.CalendarViewDayItemChanging.

Aplica-se a

Confira também