CalendarDatePicker.CalendarViewDayItemChanging 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在選擇器的CalendarView中載入CalendarViewDayItem時發生。
// 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"/>
事件類型
備註
此方法來自 CalendarDatePicker的內部 CalendarView。 如需詳細資訊,請參閱 CalendarView.CalendarViewDayItemChanging。