title: Office Ribbon: How to access a control when the ribbon was created using XML
body: <p>I used a ribbon XML file to create a custom tab which contains a togglebutton.  The button is meant to toggle the visibility of a custom task pane and works great.  The problem is that when the user close the custom task pane, the toggle button is now out of sync.  How do I programmaticly access the togglebutton so I can change its IsChecked value?</p>