windows phone 7 - Difference in LoadingPivotItem and SelectionChanged -


i have 4 pivotitems in pivot. i'm loading data in each pivotitem when comes view. i'm using pivot.selectionchanged event, so:

private void pivotselectionchanged(object sender, selectionchangedeventargs e) { switch(mypivot.selectedindex) { case 0: //load items pivotitem 0 ....... ....... } }   

however, see there loadingpivotitem event, can used in similar way.
difference between these 2 methods? 1 more efficient other?

loadingpivotitem means can manipulate content before displayed. additional information here => loadingpivot


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -