开发者

Catch f5 in Silverlight?

开发者 https://www.devze.com 2022-12-28 05:43 出处:网络
I have an app that uses the navigation controls. What I would like is for my app to stay on the page it is show开发者_Python百科ing rather than reload the whole application when f5 (refresh) is presse

I have an app that uses the navigation controls. What I would like is for my app to stay on the page it is show开发者_Python百科ing rather than reload the whole application when f5 (refresh) is pressed?

Is this at all possible?

JD.


It seems like the way to do it is with the contentFrame_navegating event. On refresh, the URL that the user is on is passed through. We can then use to to redirect as the application will try to load the default page.

JD.

0

精彩评论

暂无评论...
验证码 换一张
取 消