I'm new to WPF and never happened the need for me to create a wizard in WPF. I want to know what control to use to make a simple wizard in WPF that I can collect information on each page and finalize an operation in the last page(step). I actually want to make it using native WPF controls. I don't know, like using page navigations or so. Any native wpf ideas?
我是WPF的新手,从未想过要在WPF中创建向导。我想知道在WPF中使用什么控件来创建一个简单的向导,我可以在每个页面上收集信息并在最后一页中完成操作(步骤)。我实际上想要使用本机WPF控件。我不知道,比如使用页面导航等。任何原生的wpf想法?
2 个解决方案
#1
6
You can make use of Tab Control for making a wizard.
您可以使用Tab Control来制作向导。
For moving to the next screen on a particular index can bind the SelectedIndex property of the tab control to a property in the view model and if you do not wish to display the tab items in UI can set its height to 0.
要移动到特定索引的下一个屏幕,可以将选项卡控件的SelectedIndex属性绑定到视图模型中的属性,如果您不希望在UI中显示选项卡项,则可以将其高度设置为0。
#2
4
Check out the WPF Extended toolkit. It has a built in Wizard control.
查看WPF Extended工具包。它有一个内置的向导控件。
巫师
#1
6
You can make use of Tab Control for making a wizard.
您可以使用Tab Control来制作向导。
For moving to the next screen on a particular index can bind the SelectedIndex property of the tab control to a property in the view model and if you do not wish to display the tab items in UI can set its height to 0.
要移动到特定索引的下一个屏幕,可以将选项卡控件的SelectedIndex属性绑定到视图模型中的属性,如果您不希望在UI中显示选项卡项,则可以将其高度设置为0。
#2
4
Check out the WPF Extended toolkit. It has a built in Wizard control.
查看WPF Extended工具包。它有一个内置的向导控件。
巫师