Anton Zhmyrov
Anton Zhmyrov

Reputation: 55

Preventing the selection of another pivot item on a pivot control in a UWP app

I managed to accomplish it with setting the SelectedIndex property to the desired pivot item, but a new problem occurred. You can see the animation sliding to the selected pivoted and back to the one you have specified. Does anybody know how to disable pivot sliding animation when clicking on the pivot item in the UWP application? Or maybe how to prevent the selection of the pivot item in a better way?

Upvotes: 0

Views: 413

Answers (1)

Romasz
Romasz

Reputation: 29792

Pivot has IsLocked property which should prevent from changing current item.

Upvotes: 1

Related Questions