WPF页面和导航命令 [英] WPF Pages and Navigating Commands

查看:86
本文介绍了WPF页面和导航命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我正在开发wpf向导并在页面上使用navigatingservice.
我发现功能页提供了一种在页面之间前进/后退的好方法,并提供了在页面之间传输数据的方法.

唯一的问题是,我已经为每个页面实现了自己的前进/后退按钮,所以有办法在其自身的页面实例之外插入页面.目标是将命令按钮放在pageframe元素下方,并与之交换页面.

希望你有主意:)

干杯!

Hi!

Im developing wpf wizard and im using navigatingservice with pages.
I find that functionpages offer nice way to move forward/backwards between pages and provides way to transfer data between them.

Only problem is that I have implement each page its own forward/backward buttons so is there way to interract pages outside its own page instance. The goal is to put command buttons below pageframe element and swap pages with those.

Hope you got idea :)

Cheers!

推荐答案

我认为您可以使用Frame以便自动显示前进"和后退"按钮.使用Frame
I think you can use Frame so that Forward and Back buttons automatically displays. There are some other advantages also which van be achieved using Frame


这篇关于WPF页面和导航命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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