outlook addin - VSTO XML ribbon: which callback is called first -
when creating custom xml ribbon in vsto add-in there order various get* callback methods invoked (e.g. getdescription, getenabled, getvisible, etc.)?
surely there's order.
that's internal implementation detail of office , absolutely shouldn't rely on that.
the order can rely on call of onload
guaranteed come first.
the rest of these methods should not rely on each other. should implemented stateless possible , should return requested value. (hence names starting get...
.)
is, id of control in , have return value - maybe information current excel.application
.
one additional information:
if need refresh of these get...
methods, can call iribbonui.invalidate()
.
(you instance of iribbonui
parameter of onload
call.)
Comments
Post a Comment