zoukankan      html  css  js  c++  java
  • Toggle the WinForms Ribbon Interface 切换 WinForms 功能区界面

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

    在本课中,您将学习如何在应用程序中启用/禁用功能区用户界面。

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

    在继续之前,请花点时间查看使用向导课创建解决方案。

    • 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.

    • 通过双击 MySolution.Win 项目中的 Model.xafml 文件来调用模型编辑器。导航到选项节点。此节点允许您编辑应用程序的不同 UI 设置。在 FormStyle 属性的下拉列表中,选择功能区。

      RibbonME

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

      "选项"中提供了其他功能区选项 |功能区选项节点。

    • Run the WinForms application to view the result.

    • 运行 WinForms 应用程序以查看结果。
    • Ribbon UI
    • 功能区 UI

    Ribbon

    • Standard UI
    • 标准 UI

    Non-Ribbon

     

    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".

    功能区 UI 提供快速访问工具栏。您可以在此工具栏上放置常用操作,以提高应用程序的可用性。要向此工具栏添加特定操作,导航到操作设计 |操作 |<Action>节点并将"快速访问"属性设置为"True"。

     

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

    在主演示中,将创建一个单独的 WinForms 项目来演示功能区 UI。

  • 相关阅读:
    Oracle2MySQL数据校验
    MySQL物理删除大表文件的方式
    MySQL恢复误删除的ibd文件
    如何下载MySQL企业版数据库
    C++篇之成员函数注册为回调函数
    Java入门篇
    日常收藏之Linux篇
    实现简单网页rtmp直播:nginx+ckplayer+linux
    网络通信之accept函数简述
    网络通信之bind、listen函数简述
  • 原文地址:https://www.cnblogs.com/foreachlife/p/Toggle-the-WinForms-Ribbon-Interface.html
Copyright © 2011-2022 走看看