其他分享
首页 > 其他分享> > 功能区控件样式设置

功能区控件样式设置

作者:互联网

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:

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

译者注: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风格主要特性是:

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.

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

 

标签:控件,style,Office,样式,2019,功能区,Microsoft,Ribbon
来源: https://www.cnblogs.com/foreachlife/p/ribbonStyle.html