DatePicker::IsDropDownOpen Property
.NET Framework (current version)
Gets or sets a value that indicates whether the drop-down Calendar is open or closed.
Assembly: PresentationFramework (in PresentationFramework.dll)
Identifier field | |
Metadata properties set to true |
Setting this property will cause the Calendar drop-down to open or close.
<DatePicker IsDropDownOpen="bool"/>
The following example creates a DatePicker that is initialized with its calendar open and displays July 7, 2009.
<DatePicker IsDropDownOpen="True" IsTodayHighlighted="False" DisplayDate="7/7/09"/>
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Available since 4.0
Silverlight
Available since 2.0
Show: