Skip to main content
CalendarDisplayDateChanged Event

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Occurs when the property is changed.

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

public event EventHandler<CalendarDateChangedEventArgs> DisplayDateChanged
event EventHandler<CalendarDateChangedEventArgs^>^ DisplayDateChanged {
	void add(EventHandler<CalendarDateChangedEventArgs^>^ value);
	void remove(EventHandler<CalendarDateChangedEventArgs^>^ value);
member DisplayDateChanged : IEvent<EventHandler<CalendarDateChangedEventArgs>,
Public Event DisplayDateChanged As EventHandler(Of CalendarDateChangedEventArgs)

This event occurs after 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
Available since 2.0
Return to top