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.

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: