c# - Return to proper hubsection when returning to mainpage -


i creating windows phone 8.1 app , mainpage has hub control consists of 1 (manually created) xaml hubsection , multiple dynamic hubsections generated json. have button takes user new page. when user returns mainpage shows user first hubsection. trying make user returns , sees hubsection focused on before.

i attempted:

        ilist<hubsection> currentsections;         currentsections = mainhub.sectionsinview;         // code         mainhub.sectionsinview = currentsections; 

but apparently sectionsinview readonly. can't find online... there way this?

try using hub.scrolltosection method or hub.defaultsectionindex property


Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -