问题描述
我想创建5个页面,其中导航按以下顺序从一个页面到另一个页面.
第1页-> Page2 -> Page3 -> 第4页-> Page5
Page2 和 Page4 是中间页(或可能在事务中间)
现在举个例子;如果用户从 Page1 ->导航; Page2 -> Page3 ,并决定点击浏览器的(即IE或FF)后退"按钮,通常请参见 Page2 .
我想显示 Page1 而不是 Page2 ,因为这将意味着相反的交易,它可能还会提供错误的信息和/或不一致的信息.
有没有一种方法可以使用 Silverlight 3 导航页来实现.
我知道在 PageFunction< t> 的帮助下,在WPF中它可能在 Silverlight 3 中具有等效功能?
I would like to create 5 pages where by navigation would be from one page to another in the following order.
Page1 -> Page2 -> Page3 -> Page4 -> Page5
Page2 and Page4 are intermediate pages (or could be in the middle of a transaction)
Now for example; if user navigates from Page1 -> Page2 -> Page3 and decides to click on Browser''s(i.e. IE or FF) Back button world normally see Page2.
I would like to show Page1 instead of Page2 as it would mean a reverse of transaction which may also give wrong information and or inconsistency.
Is there a way to achieve this using Silverlight 3 Navigation Page.
I know that its possible in WPF with the help of PageFunction<t> is there an equivalent in Silverlight 3?
Thankyou very much in advance.
推荐答案
这篇关于Silverlight中是否有PageFunctions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!