SelectedItem Property
Collapse the table of content
Expand the table of content

Selector.SelectedItem Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the selected item.

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

public Object SelectedItem { get; set; }

Property Value

Type: System.Object
The selected item. The default is null.

Dependency property identifier field: SelectedItemProperty

The combo box does not allow more than one item to be selected at a time. Use the SelectedIndex or SelectedItem property to retrieve the selected item in code.

This property is not typically used in XAML.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft