Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSTO 3 RibbonX getLabel Callback Failing

Tags:

vsto

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

    }
like image 933
Jay Avatar asked Nov 27 '25 09:11

Jay


1 Answers

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

like image 172
Jay Avatar answered Dec 02 '25 11:12

Jay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!