Skip to main content
All docs
V23.2
.NET 6.0+

How to: Enable the Main Menu Bars or Ribbon in WinForms

This article describes how to enable the Ribbon User Interface in your WinForms application.

Windows Forms Ribbon UI, DevExpress

Note

For the purposes of this article, you can use the MainDemo application installed as a part of the XAF package. The default location of the application is %PUBLIC%\Documents\DevExpress Demos 23.2\Components\XAF.

Step-by-Step Instructions

  1. In the Solution Explorer, expand the MainDemo.Win project and double-click the Model.xafml file to open it in the Model Editor.

  2. Navigate to the Options node. Here you can customize the appearance and behavior of the application’s UI.

  3. Focus the FormStyle property and choose the Ribbon option from the drop-down menu.

    Ribbon UI Setup in Model Editor, DevExpress

  4. Run the application to see the result.

    Windows Forms Ribbon UI, DevExpress

Tip

You can find additional options for Ribbon UI element customization in the Options | RibbonOptions node.