Dela via


Pivot.SelectedItem Property

Definition

Gets or sets the currently selected item in the Pivot.

public:
 property Platform::Object ^ SelectedItem { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable SelectedItem();

void SelectedItem(IInspectable value);
public object SelectedItem { get; set; }
var object = pivot.selectedItem;
pivot.selectedItem = object;
Public Property SelectedItem As Object

Property Value

Object

Platform::Object

IInspectable

The currently selected PivotItem or, if the Pivot is bound to data, the data item set as the Content of the currently selected PivotItem.

Applies to