Ribbon UI Control for WinForms

岁酱吖の 提交于 2019-11-26 20:48:36
Stephen Doyle

Yes - it was included as part of the Visual Studio 2008 Service Pack 1 - at least for C++/MFC support anyhow.

See this similar question for more info.

With regards to licencing, you'll want to check out the Microsoft Office UI licencing information, and acquire a royalty-free licence. There are specific stipulations you must adhere to, as well as recommended/best practices portions of the licence.

Jensen Harris notes that if you are writing an application which directly competes with a Microsoft productivity application that uses the ribbon (e.g. Word, PowerPoint, etc.), you will not be able to obtain a royalty-free licence.

If you use Windows 7 / Vista, Microsoft provides Windows Ribbon Framework - a free ribbon control that comes with the operating system (In vista, check the platform update).

The main reason why to use the Windows Ribbon Framework: It's developed by Microsoft.

This means:

  • Since it’s the original one, it contains ALL the features, as opposed to other free/commercial ribbon controls which always have those "not implemented" sections.

  • It has COMPLETE support and integration with windows 7 UI & accessibility features. Just think about touch screen support or high DPI screens compatibility.

Also, there is a managed wrapper library named Windows Ribbon for WinForms which allows you to use the ribbon in .NET WinForms applications.

Beware, if you want to use ribbon controls, you need to get special permission by microsoft to do so. Most of the times it will be a formality unless your name is open office.

The information is presented at: http://msdn.microsoft.com/nl-nl/office/aa973809(en-us).aspx.

There's a Ribbon control on Codeplex that you could try.

BlueRaja - Danny Pflughoeft

Another possibility no-one has mentioned: You could use a WPF Ribbon control and host it in a Winforms WPF-container.

I find that the Telerik RadRibbon control is quite good, although a bit inflexible. It also is (and this is the main reason I am suggesting it) a VS2008 Express registration benefit (see MS Connect), but otherwise the Telerik website.

There is this project. Unlike every other answer so far, it is very easy to use, is native Winforms, and supports Windows XP. Unfortunately, it is pretty buggy, and appears to be abandoned.

It was picked up by another developer here (who, for some inane reason, refuses to upload it to an online repository). It's a bit buggy in the designer, but appears to work well at runtime. I think this is your best option if you have to support XP, and don't want to use WPF.

Jsvnascar

I'd say that DevComponent's DotNetBar is the best Office 2007/2010 ribbon around. The only problem is you have to buy it ($264 for single license, $299 for single license plus source code, and $2995 for single site license). Try the demo, it gives you a 28 day test drive (everything from the purchased software will for for only 28 days). Their current version is 8.8.

Reference

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