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
Post a Comment