Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ribbon in WinForms C# .Net 4.0

Does Microsoft have ribbon control for non-Office applications? If not is there any that are available for free?

I like that component and would like to use it my WinForm 4.0 application.

like image 827
Irakli Lekishvili Avatar asked Jul 11 '11 15:07

Irakli Lekishvili


People also ask

How do I create a ribbon in Windows form?

Adding Contextual Ribbon Tabs On the form, select the ribbon control by clicking the blue File tab title in order to click on the Smart Tag in the upper right corner of the ribbon control. Click on Add a Quick Access Toolbar to convert the form to a Windows. Forms. Ribbon.

What is ribbon in C#?

WPF 4.5 has been extended by a new feature called Ribbon control that hosts quick access to the toolbar, Application Menu and tabs. The Ribbon is a way to organize the related commands shown as control on the Ribbon so that they are easier to find.

Is WinForms outdated?

Win Form has been used to develop many applications. Because of its high age (born in 2003), WinForm was officially declared dead by Microsoft in 2014. However, Win Form is still alive and well.


2 Answers

Microsoft makes one for WPF that you can download here.

There is an open source ribbon that should work for traditional WinForms.

like image 123
vcsjones Avatar answered Nov 08 '22 08:11

vcsjones


Microsoft have made a bit of a mess of providing a Ribbon control. Initially it had some very complex licence conditions, these may be relaxed now but the control is not as easily available as some of their recent NuGet deployed goodies.

There seem to be more options in the WPF area if that helps:

  1. WPF - Microsoft Ribbon for WPF October 2010, this replacesWPF Ribbon Preview
  2. New .NET 4.5 WPF Ribbon - RC but at least it is in the framework
  3. Fluent Ribbon Control Suite

In general, WinForms seems to be a dead-end and I wouldn't expect to see Microsoft invest too much in it but libraries/examples do exist:

  1. Commercial library: ComponentOne Ribbon
  2. Commercial library: Infragistics WinToolbars
  3. Blog about using the Microsoft Windows 7 SDK ribbon
  4. CodeProject article
  5. CodeProject post using the Windows 7 SDK
like image 39
Ray Hayes Avatar answered Nov 08 '22 08:11

Ray Hayes