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

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -