简体   繁体   中英

howto hide/show pivot element in WP7?

is it possible to hide and show a pivot element?

eg 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.

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".

您可以从父枢纽控制项中移除枢纽项目

parentPivotControl.Items.Remove(pivotItemToBeRemoved);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM