none
Un-selectable items in RibbonComboBox RRS feed

  • Question

  • Hello,

    I am developing a VSTO 4.0 Word Add-In.

    I need to make items in a RibbonComboBox unselectable. I can do this from the code behind, but I need it to work from the Interface. Seeing that this cannot be done (there is not property that would allow me to do this), I now want to show a UserControl made by me when the user clicks on the RibbonCombobox or Drops Down the list of items.

    Is there a possibility to achieve any of my two goals? (make items in RibbonCombobox un-selectable or to show a custom UserControl when the user clicks/ drops down the items list of a RibbonComboBox).

    Best regards,

    Silviu.


    http://www.rosoftlab.net/

    Friday, March 16, 2012 9:06 AM

Answers

  • Hello Joseph,

    The Ribbon Control from VSTO do not have the same events as thos from Visual Studio. But for the time being, I implemented a solution taht automatically selects a valid element after the text is changed.

    Best regards,

    Silviu.


    http://www.rosoftlab.net/

    • Marked as answer by Lupu Silviu Wednesday, March 21, 2012 11:28 AM
    Wednesday, March 21, 2012 11:28 AM

All replies