开发者

VSTO 3 RibbonX getLabel Callback Failing

开发者 https://www.devze.com 2023-02-25 02:01 出处:网络
It seems I can not properly implement the callback for getLabel in VSTO 3 开发者_运维技巧with XML defined RibbonX. What am I doing wrong here? Is there some holy grail of documentation that I am missi

It seems I can not properly implement the callback for getLabel in VSTO 3 开发者_运维技巧with XML defined RibbonX. What am I doing wrong here? Is there some holy grail of documentation that I am missing out on?

public string GetCustomLabel(IRibbonControl control) {

    return "Custom label";

    }


As it turns out label can not be assigned before getLabel in the XML.

0

精彩评论

暂无评论...
验证码 换一张
取 消