OnSelectedDateChanged Method

DatePicker.OnSelectedDateChanged Method (SelectionChangedEventArgs)

.NET Framework 4.6 and 4.5

Raises the SelectedDateChanged routed event.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected virtual void OnSelectedDateChanged(
	SelectionChangedEventArgs e


Type: System.Windows.Controls.SelectionChangedEventArgs

The data for the event.

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

Notes to Inheritors:

When overriding OnSelectedDateChanged in a derived class, be sure to call the base class’s OnSelectedDateChanged method so that registered delegates receive the event.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft