Pivot.SelectedItem Property

Definition

Gets or sets the currently selected item in the Pivot.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Pivot.SelectedItem.

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

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