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.

ComboBox::IsDropDownOpen Property

 

Gets or sets a value that indicates whether the drop-down for a combo box is currently open.

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

public:
[BindableAttribute(true)]
[BrowsableAttribute(false)]
property bool IsDropDownOpen {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the drop-down is open; otherwise, false. The default is false.

Identifier field

IsDropDownOpenProperty

Metadata properties set to true

BindsTwoWayByDefault

The following example shows how to use the IsDropDownOpen property to create a combo box with the drop down control opened when the combo box is initiated.

<Setter Property = "IsDropDownOpen" Value="true"/>

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft