ISelectionAdapter Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Defines an item collection, selection members, and key handling for the selection adapter contained in the drop-down portion of an AutoCompleteBox control.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.Input (in System.Windows.Controls.Input.dll)
Syntax
'Declaration
Public Interface ISelectionAdapter
public interface ISelectionAdapter
The ISelectionAdapter type exposes the following members.
Properties
Name | Description | |
---|---|---|
ItemsSource | Gets or sets a collection that is used to generate content for the selection adapter. | |
SelectedItem | Gets or sets the selected item. |
Top
Methods
Name | Description | |
---|---|---|
CreateAutomationPeer | Returns an automation peer for the selection adapter, for use by the Silverlight automation infrastructure. | |
HandleKeyDown | Provides handling for the KeyDown event that occurs when a key is pressed while the drop-down portion of the AutoCompleteBox has focus. |
Top
Events
Name | Description | |
---|---|---|
Cancel | Occurs when a selection has been canceled. | |
Commit | Occurs when a selected item is not cancelled and is committed as the selected item. | |
SelectionChanged | Occurs when the SelectedItem property value changes. |
Top
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.