功能区自定义:我可以在DropDown菜单中对项目使用getLabel回调吗? [英] Ribbon Customization: can I use getLabel callback for item in a DropDown Menu?

查看:90
本文介绍了功能区自定义:我可以在DropDown菜单中对项目使用getLabel回调吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在"http://schemas.microsoft.com/office/2006/01/customui""后面加上多语言功能区。 shema。

I need to have a multilanguage Ribbon following the "http://schemas.microsoft.com/office/2006/01/customui" shema.

我正在更改每个"标签","屏幕提示","supertip"等。属性在"getLabel","getScreentip","getSupertip"中回调。

I'm changing every "label", "screentip", "supertip" attribute in a "getLabel", "getScreentip", "getSupertip" callback.

当我尝试为DropDown菜单中的Item执行此操作时,我收到错误,因为未声明属性。

When I try to do that for an Item in a DropDown menu, I get en error because the attribute is not declared.

任何建议/解决方法?

Lauro

推荐答案

Hello Lauro,

Hello Lauro,

您可以找到以下系列文章中描述的元素的可能属性列表

You can find the list of possible attributes for the element described in the following series of articles:


Custom 2007年Office Fluent Ribbon for Developers(第1部分,共3部分)


自定义
2007 Office Fluent功能区开发人员(第2部分,共3部分)


自定义
2007 Office Fluent功能区开发人员(第3部分,共3部分)


P
记得在代码中声明相应的回调。

Please remember to declare a corresponding callback in the code.


这篇关于功能区自定义:我可以在DropDown菜单中对项目使用getLabel回调吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆