Jay
Jay

Reputation: 298

VSTO 3 RibbonX getLabel Callback Failing

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";

    }

Upvotes: 3

Views: 1179

Answers (1)

Jay
Jay

Reputation: 298

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

Upvotes: 3

Related Questions