Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1005
How to programmatically check a Gallery item
posted

I have added a Gallery item to my ribbon bar and set the ItemStyle for the gallery to StateButton.  When the user clicks on an item it now maintains the checked state as expected, but I want to be able "check" an item programmatically depending on the users current selection in the form.  How can I do this?

Thanks.

Brian

  • 1005
    Verified Answer
    posted

    After some investigation I found that I can do this by assigning the item to the PopupGalleryTool's SelectedItem property.