LongListSelector.SelectedItem Property

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

Gets the currently selected item in the LongListSelector.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property SelectedItem As Object
public Object SelectedItem { get; set; }
<object>
  <object.SelectedItem>
    <Object .../>
  </object.SelectedItem>
</object>

Property Value

Type: System..::.Object
The Object that represents the currently selected item in the LongListSelector.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

LongListSelector Class

Microsoft.Phone.Controls Namespace