Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Calendar.DisplayDateChanged Event

 

Occurs when the DisplayDate property is changed.

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

member DisplayDateChanged : IEvent<EventHandler<CalendarDateChangedEventArgs>,
    CalendarDateChangedEventArgs>

This event occurs after DisplayDate is assigned its new value.

<Calendar DisplayDateChanged="eventhandler"/>

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.

<Calendar Name="calendar1" Loaded="calendar1_Loaded"/>

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft