Which wizard control can I use in a WinForms application?

 ̄綄美尐妖づ 提交于 2019-11-30 08:34:25
Cody Gray

No, Microsoft does not provide a ready-made wizard control as part of the .NET Framework. You will need to build your own.

There are several samples available on the web that can help get you started:


Of course, as you can see, the majority of those samples implement the old Wizard 97 interface, rather than the new Aero Wizards (found in Windows Vista and 7). I've seen one of those on Code Project, too:

But perhaps the best implementation I've seen is found in the Windows Forms Aero library, available for download here on CodePlex. The Aero Wizard .NET Library is another great option, also on CodePlex.

Both of those are great looking, well-designed wizard controls, but neither of them will work properly on Windows XP (which doesn't support the Aero theme). The biggest problem you'll run into is ensuring that your implementation is fully backward-compatible, properly reverting to the Wizard 97 style when running on a version of Windows prior to Vista. I haven't seen a control that gets this right posted online yet.


If spending money on a third-party control is an option, you might look into XtraWizard by Devexpress or the Wizard Framework by Divelements.


But no matter which route you choose, I highly recommend following Microsoft's Wizard guidelines.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!