.NET Framework (current version)
PresentationFramework (in PresentationFramework.dll)
public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged
This event occurs after DisplayDate is assigned its new value.
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"/>
Return to top
Available since 4.0
Available since 2.0