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.
精彩评论