c# - How to scroll view in windows 8.1 programmatically? -
c# - How to scroll view in windows 8.1 programmatically? -
i have windows 8.1 view: example:
mypage.xaml
<grid> <hub> <hubsection x:name"firstsection"> <button x:name="navigatetothirdsection" tapped="navigatetothirdsection_tapped"></button> </hubsection> <hubsection x:name"secondsection"> </hubsection> <hubsection x:name"thirdsection"> <textblock text="third section.."></textblock> </hubsection> </hub> </grid>
mypage.xaml.cs
private void stackpanel_tapped(object sender, tappedroutedeventargs e) { //what should reach 3rd hubsection end of page when click button @ first hubsection }
i need reach end of page horizontally when click @ button @ begin of page.
regards,
first of give hubname mainhub or etc...
private void stackpanel_tapped(object sender, tappedroutedeventargs e) { //what should reach 3rd hubsection end of page when click button @ first hubsection mainhub.scrolltosection(thirdsection); }
c# xaml scroll windows-8.1
Comments
Post a Comment