DatePicker::CalendarClosed Event
.NET Framework (current version)
Occurs when the drop-down Calendar is closed.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example creates a DatePicker and provides instructions to the user. When the user opens or closes the Calendar, the instructions are updated.
<StackPanel> <TextBlock Name="textBlock1" Text="Enter a date or click the calendar."/> <DatePicker CalendarOpened="DatePicker_CalendarOpened" CalendarClosed="DatePicker_CalendarClosed"/> </StackPanel>
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: