Επεξεργασία

Κοινή χρήση μέσω


DatePicker.OnSelectedDateChanged(SelectionChangedEventArgs) Method

Definition

Raises the SelectedDateChanged routed event.

protected:
 virtual void OnSelectedDateChanged(System::Windows::Controls::SelectionChangedEventArgs ^ e);
protected virtual void OnSelectedDateChanged (System.Windows.Controls.SelectionChangedEventArgs e);
abstract member OnSelectedDateChanged : System.Windows.Controls.SelectionChangedEventArgs -> unit
override this.OnSelectedDateChanged : System.Windows.Controls.SelectionChangedEventArgs -> unit
Protected Overridable Sub OnSelectedDateChanged (e As SelectionChangedEventArgs)

Parameters

e
SelectionChangedEventArgs

The data for the event.

Remarks

The control raises the SelectedDateChanged event by calling RaiseEvent. For more information, see Routed Events Overview.

Notes to Inheritors

When overriding OnSelectedDateChanged(SelectionChangedEventArgs) in a derived class, be sure to call the base class' OnSelectedDateChanged(SelectionChangedEventArgs) method so that registered delegates receive the event.

Applies to