protected override void SaveState(System.Collections.Generic.Dictionary <string, object> pageState) { if (pageState == null) { return; } base.SaveState(pageState); pageState["scrollViewerOffsetProportion"] = ScrollViewerUtilities.GetScrollViewerOffsetProportion(_itemsGridViewScrollViewer); }
private void itemsGridView_LayoutUpdated(object sender, object e) { _scrollViewerOffsetProportion = ScrollViewerUtilities.GetScrollViewerOffsetProportion(_itemsGridViewScrollViewer); }