Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISelectionAdapter Interface

Silverlight

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)
public interface ISelectionAdapter

The ISelectionAdapter type exposes the following members.

  NameDescription
Public propertyItemsSourceGets or sets a collection that is used to generate content for the selection adapter.
Public propertySelectedItemGets or sets the selected item.
Top
  NameDescription
Public methodCreateAutomationPeerReturns an automation peer for the selection adapter, for use by the Silverlight automation infrastructure.
Public methodHandleKeyDownProvides handling for the KeyDown event that occurs when a key is pressed while the drop-down portion of the AutoCompleteBox has focus.
Top
  NameDescription
Public eventCancelOccurs when a selection has been canceled.
Public eventCommitOccurs when a selected item is not cancelled and is committed as the selected item.
Public eventSelectionChangedOccurs when the SelectedItem property value changes.
Top

Silverlight

Supported in: 5, 4, 3

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.