how to update off screen pivot item
Posted
by
Yama moto
on Stack Overflow
See other posts from Stack Overflow
or by Yama moto
Published on 2012-12-06T17:02:26Z
Indexed on
2012/12/06
17:03 UTC
Read the original article
Hit count: 164
I want to have a pivot with many PivotItems
. However, doing so will impact memory. So I bind pivot to my ViewModel, which has 3 item, and pivot will generate 3 PivotItems
.
My ViewModel is of type ObservableCollection
and my item does implement INotifyPropertyChanged
. This works fine. But when I update my ViewModel, only the current PivotItem
, and the right PivotItem
is updated. The left PivotItem
, which is off screen, is not updated. You can see it when you drag pivot to the left.
How to fix this? Or WP7 doesnot update off screen PivotItem
?
© Stack Overflow or respective owner