Partager via


AutoCompleteBox.SelectionAdapter Property

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

Gets or sets the selection adapter used to populate the drop-down with a list of selectable items.

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

Syntax

'Declaration
Protected Friend Property SelectionAdapter As ISelectionAdapter
protected internal ISelectionAdapter SelectionAdapter { get; set; }

Property Value

Type: System.Windows.Controls.ISelectionAdapter
The selection adapter used to populate the drop-down with a list of selectable items.

Remarks

You can use this property when you create an automation peer to use with AutoCompleteBox or deriving from AutoCompleteBox to create a custom control.

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.