Setting the Active PivotItem

,

The SelectedItem or SelectedIndex can be used to shift to a particular PivotItem within the Pivot. If the Pivot is populated using its ItemsSource property, then the SelectedItem retrieves the data object rather than the actual PivotItem control.


Note

Setting a Pivot’s SelectedIndex before it has loaded raises an exception. This can be prevented by suppressing the Exception by wrapping the assignment in a try/catch block, or by performing the assignment in a Loaded event handler.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.42.129