ComboBox.IsDropDownOpen Property

 
System_CAPS_noteNote

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

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)

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

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: