• 功能区控件样式设置


    XAF模型编辑器的选项结点下面有个RibbonControlStyle设置,如图所示:

    那么,每种选项效果与功能有什么区别呢,下面是通过官方文档进翻译的说明:

    Ribbon Styles 功能区样式

    The Ribbon Control supports a set of styles that differ in appearance, as well as behavior. To apply a style to a Ribbon Control, use the RibbonControl.RibbonStyle property.

    Ribbon控件支持设置不同的样式以及行为,要应用样式到功能区控件,使用RibbonControl.RibbonStyle属性。

     ExpandedOffice 2019
    Office 2019-inspired style. Features a flat appearance, tab animations (when the "Office 2019 Colorful""Office 2019 Black""Office 2019 White", or "Office 2019 Dark Gray" vector skin is applied), and the capability to collapse into a single-row "Simplified" state.
    仿Office2019风格。具有平面外观,选项卡动画功能
     
    当使用了
    Office 2019 Colorful
    Office 2019 Black
    Office 2019 White
    Office 2019 Dark Gray
    矢量皮肤时。
    以及折叠到单行简单状态,如下图所示:

     

    ExpandedOffice Universal 

    A Ribbon style inspired by the ribbon UI introduced in Microsoft "Office Universal" apps.

    仿Office Universal功能区用户界面。

    The Quick Access Toolbar is unavailable in this Ribbon style and the Application Button is displayed as the 'File' page header.

     快速访问工具栏在此样式中无效,应用程序按钮显示为文件页标题。 

    ExpandedTablet Office

     A Ribbon style inspired by the UI found in Microsoft Office for iPad.

    仿iPad版本的Microsoft Office功能区风格

     

    ExpandedOffice 2013 Style

    Allows you to emulate the Microsoft Office 2013 UI.
    允许您模仿Microsoft Office 2013用户界面.

    With this style applied, a Ribbon Control gets multiple unique features that include the following:

    • A BackstageViewControl (invoked using an Application Button at the top left corner), which occupies the entire window and displays the 'Back' navigation button.
    • The Full-Screen Mode, which automatically hides the Ribbon Control when the end-user is not currently using it, leaving only a thin bar at the top of the window.

    应用此风格被后,功能区控件特性如下:

    • 当BackstageView控件显示时(使用左上边角应用程序按钮执行时),窗口显示“后退”导航按导。
    • 全屏模式下,使用了自动隐藏功能区控件时,当最终用户没有当前使用它时,鼠标离开后,只有一个细条显示在窗口上方。

    译者注:XAF中并没有使用这个BackstageView控件。

     ExpandedOffice 2010

    A key feature of the Office2010 style is the use of a BackstageViewControl object instead of an ApplicationMenu.

    A BackstageViewControl is also assigned to an Application Button using the RibbonControl.ApplicationButtonDropDownControl property.

    To learn more about the differences between an Application Menu and a BackstageViewControl, please refer to the BackstageView Control topic.

    Office2010风格一个关键特性是使用BackstageView控件而不是应用程序菜单

    BackstageView控件是也附值给应用程序按钮使用RibbonControl.ApplicationButtonDropDownControl属性。

    要学习不同更多关于应用程序菜单和BackstageView控件,请参考BackstageView控件主题。

    ExpandedMacOffice Paint Style for Ribbon

    A Ribbon style inspired by the UI found in Microsoft Office for Mac.
    仿Microsoft Office Mac版本
    译者注:这个在XAF中没有调出来,可能是主模板的问题

    Key features of the new MacOffice style are:

    新MacOffice风格主要特性是:

    • Items are arranged in two rows (instead of the traditional three rows) with group captions displayed at the top, rather than at the bottom.

    • 项目被安排在2行(而不是传统的3行),项目标题显示在分组顶端,而不是在底部。

    • Page groups are never collapsed when the Ribbon's width is reduced. Instead, scroll buttons appear, which enable Ribbon scrolling.

    • 当功能区宽度减少时,页分组从不折叠。相反,滚动按钮将显示,从而启用滚动功能。

    • Gallery items are horizontally arranged across one row and are scrolled horizontally.

    • 图标项目水平排列在一行中,并且水平滚动

    • Although page category captions are always hidden in the MacOffice style, the Ribbon control has a feature that collapses page categories using animation.  
    • 尽管MacOffice风格下页分类标题总是隐藏,但功能区控件具有使用动画折叠页面类别的功能。

    ExpandedOffice 2007 Ribbon Control

    This style emulates the Ribbon used in Microsoft Office 2007.

    仿Microsoft Office 2007风格

    For this style to function properly, assign an ApplicationMenu object to the Ribbon Control's Application Button.

    要使此样式正常运行,请将应用程序菜单对象分配给功能区控件的应用程序按钮。

  • 相关阅读:
    【Splay树】
    毕业设计每日总结2020/2/8
    毕业设计每日总结2020/2/7
    毕业设计每日总结2020/2/6
    毕业设计每日总结2020/2/5
    毕业设计每日总结2020/2/4
    毕业设计每日总结2020/2/3
    毕业设计每日总结2020/2/2
    毕业设计每日总结2020/2/1
    毕业设计第一周计划
  • 原文地址:https://www.cnblogs.com/foreachlife/p/ribbonStyle.html
Copyright © 2020-2023  润新知