แก้ไข

แชร์ผ่าน


Calendar.OnSelectedDatesChanged(SelectionChangedEventArgs) Method

Definition

Raises the SelectedDatesChanged routed event.

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

Parameters

e
SelectionChangedEventArgs

The data for the event.

Remarks

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

Notes to Inheritors

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

Applies to