{"id":5043,"date":"2014-03-30T18:21:54","date_gmt":"2014-03-30T18:21:54","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-to-access-custom-tab-buttons-created-using-ribbon-xml-for-visio-2010-using-c4-0-collection-of-common-programming-errors\/"},"modified":"2014-03-30T18:21:54","modified_gmt":"2014-03-30T18:21:54","slug":"how-to-access-custom-tab-buttons-created-using-ribbon-xml-for-visio-2010-using-c4-0-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-to-access-custom-tab-buttons-created-using-ribbon-xml-for-visio-2010-using-c4-0-collection-of-common-programming-errors\/","title":{"rendered":"How to Access Custom tab\/buttons created using Ribbon.xml for Visio 2010 using C#4.0-Collection of common programming errors"},"content":{"rendered":"<p>That callback functions give you IRibbonControl sender. I use sender.Id as a reference and lookup the other properties in the Ribbon.XML string from the GetCustomUI() function. If you change another control&#8217;s label (referenced via getLabel=&#8221;myFunction&#8221; in the XML), be sure to use IRibbonUI.InvalidateControl to refresh it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>That callback functions give you IRibbonControl sender. I use sender.Id as a reference and lookup the other properties in the Ribbon.XML string from the GetCustomUI() function. If you change another control&#8217;s label (referenced via getLabel=&#8221;myFunction&#8221; in the XML), be sure to use IRibbonUI.InvalidateControl to refresh it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5043","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5043"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5043\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}