如何在Windows Phone 8应用程序中直接转到页面的特定位置? [英] How to go to directly particular position of page in windows phone 8 application?

查看:107
本文介绍了如何在Windows Phone 8应用程序中直接转到页面的特定位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想重定向到Windows Phone 8中视图的特定位置...

I want to redirect to particular position of a view in windows phone 8...

就像我单击一页中的按钮一样,我应该重定向到视图中的特定位置...该怎么做?

like if i click on button in one page,i should redirect to particular position in the view...how to do that?

请有人帮我吗?

推荐答案

您的应用是否基于使用WebBrowser控件?如果是,那么您可以使用普通的 html命名锚 在页面中跳转(例如< a href ="#name">链接文本</a>其中名称"是命名锚点).

Is your app based on using the WebBrowser control?  If yes then you can use an ordinary html named anchor to jump around in the page (such as <a href="#name">Link Text</a> where "name" is the named anchor).

使用WebBrowser.NavigateToString导航到应用程序中的本地html代码,而不是导航至Internet上的网页.

Use WebBrowser.NavigateToString to navigate to local html code within your app instead of navigating to a web page on the internet.

希望这会有所帮助,
标记

Hope this helps,
Mark

 


这篇关于如何在Windows Phone 8应用程序中直接转到页面的特定位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆