CalendarDatePicker.DateChanged 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 the date value is changed.
// Register
event_token DateChanged(TypedEventHandler<CalendarDatePicker, CalendarDatePickerDateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void DateChanged(event_token const* cookie) const;
// Revoke with event_revoker
CalendarDatePicker::DateChanged_revoker DateChanged(auto_revoke_t, TypedEventHandler<CalendarDatePicker, CalendarDatePickerDateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<CalendarDatePicker,CalendarDatePickerDateChangedEventArgs> DateChanged;
function onDateChanged(eventArgs) { /* Your code */ }
calendarDatePicker.addEventListener("datechanged", onDateChanged);
calendarDatePicker.removeEventListener("datechanged", onDateChanged);
- or -
calendarDatePicker.ondatechanged = onDateChanged;
Public Custom Event DateChanged As TypedEventHandler(Of CalendarDatePicker, CalendarDatePickerDateChangedEventArgs)
<CalendarDatePicker DateChanged="eventhandler"/>