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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -