DisplayDateChanged Event

Calendar.DisplayDateChanged Event


Occurs when the DisplayDate property is changed.

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

public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged

This event occurs after DisplayDate is assigned its new value.

<Calendar DisplayDateChanged="eventhandler"/>

Legacy Code Example

The following event handler updates a TextBox with information from the DisplayDateChanged event. This example is part of a larger example available in the Calendar overview.

Code snippet is not found. Confirm that the code snippet name 'CalendarSnippets' is correct.

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