简体   繁体   English

我可以根据自己的风格自定义MS Office功能区吗?

[英]Can I customize MS office ribbon to my own style?

Can I do a lot more changes in UI of MS Office ribbon in my 'WPF,C# application'? 我可以在“ WPF,C#应用程序”中对MS Office功能区的UI进行更多更改吗?

1- Change the background color of this ribbon 1-更改此功能区的背景颜色

2- change the button size to any size? 2-将按钮大小更改为任何大小?

3- Other style related changes 3-其他与样式有关的更改

See image for clarification of my question 参见图片以澄清我的问题 参见图片以澄清我的问题

I use the ribbon only from VBA, not C#, but imagine it does not matter in this case. 我仅使用来自VBA的功能区,而不使用C#,但是可以想象在这种情况下这无关紧要。

1- Change the background color of this ribbon. 1-更改此功能区的背景颜色。

Short answer, no. 简短的回答,不。 Possibly changing the overall windows theme or something like that may affect the colour, but there is nothing in the XML model like groupBackground="Blue" . 可能会更改整个Windows主题或类似的主题,可能会影响颜色,但是XML模型中没有像groupBackground="Blue"

2- change the button size to any size? 2-将按钮大小更改为任何大小?

Again, no. 再说一次 Buttons come in two sizes, to accommodate 16 x 16 and 32 x 32 images. 按钮有两种尺寸,可容纳16 x 16和32 x 32图像。 The length of the text in the button, if any, will also influence the button's size 按钮中文本的长度(如果有)也会影响按钮的大小

3- Other style related changes. 3-其他与样式有关的更改。

The MS Office ribbon is not that feature rich. MS Office功能区的功能并不丰富。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM