Toggle the WinForms Ribbon Interface ribbon interface switching WinForms

In this lesson, you will learn how to enable/disable the Ribbon User Interface in your application.

You will learn how to enable the application in this lesson / disable the Ribbon user interface.

Note Note
Before proceeding, take a moment to review the Create a Solution using the Wizard lesson.

Before proceeding, please take a moment to view creating solutions wizard class.

 

  • Invoke the Model Editor by double-clicking the Model.xafml file from the MySolution.Win project. Navigate to the Options node. This node allows you to edit different UI settings of the application. In the FormStyle property's dropdown list, select Ribbon.

  • Model Editor invoked by double-clicking MySolution.Win project Model.xafml file. Navigate to the option node. This node allows you to edit various settings of the application UI. In the drop-down list FormStyle property, select functional areas.

    RibbonME

    Note Note
    Additional ribbon options are available in the Options | RibbonOptions node.

    "Options" provides an option other functional areas | Ribbon Tabs node.

 

  • Run the WinForms application to view the result.

  • Run WinForms application to see the results.
  • Ribbon UI
  • Ribbon UI

Ribbon

  • Standard UI
  • Standard UI

Non-Ribbon

 

Note Note
The Ribbon UI provides the Quick Access Toolbar. You can place frequently used Actions on this toolbar to improve the usability of your application. To add a certain Action to this toolbar, navigate to the ActionDesign | Actions | <Action> node and set the QuickAccess property to "True".

Ribbon UI provides quick access toolbar. You can place frequently used operations on the toolbar to increase the availability of applications. To this toolbar to add specific operations, navigation to the design | operations | <Action> node and "quick access" property to "True".

 

In the Main Demo, a separate WinForms project is created to demonstrate the Ribbon UI.

In the main presentation, we will create a separate WinForms project to demonstrate Ribbon UI.

Guess you like

Origin www.cnblogs.com/foreachlife/p/Toggle-the-WinForms-Ribbon-Interface.html