kjfbewbfewewe
kjfbewbfewewe

Reputation: 11

howto hide/show pivot element in WP7?

is it possible to hide and show a pivot element?

e.g. i want a option in my app in which i can show or hide one special pivot item which is not usefull for every user.

Upvotes: 1

Views: 716

Answers (2)

Sudhir Mann
Sudhir Mann

Reputation: 71

You can remove the pivot item from the parent pivot control

parentPivotControl.Items.Remove(pivotItemToBeRemoved);

Upvotes: 0

Matt Lacey
Matt Lacey

Reputation: 65586

It appears that it's not possible to hide an entry in the items collection.
The only option available is to remove and add the item from the pivots Items collection.

Depending on the application and the design of the pivot it may be appropriate to leave the item always there but give it the header "advanced".

Upvotes: 1

Related Questions