Partager via


AutoCompleteBox.IsDropDownOpen Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates whether the drop-down portion of the control is open.

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

Syntax

'Declaration
Public Property IsDropDownOpen As Boolean
public bool IsDropDownOpen { get; set; }
<sdk:AutoCompleteBox IsDropDownOpen="bool"/>

Property Value

Type: System.Boolean
true if the drop-down is open; otherwise, false. The default is false.

Remarks

If this property is set to true, prior to the ItemsSource property being set, the drop-down will be empty.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.