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)
Syntax
Public Property SelectedItem As Object
public Object SelectedItem { get; set; }
Property Value
Type: System..::.Object
The selected item. The default is nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone