Remove RibbonSeparator from a Ribbon programmatically RRS feed

  • Question

  • Hi all,

    I am developing an Outlook Add-In which requires that the features available are controlled by a server.

    I used InvalidateControl on the Ribbon controls and then setting a state for the controls. In this way I can switch on or off any features.

    My only problem is the RibbonSeparator being used. When certain controls are disabled, I would like the RibbonSeparator to be removed else, the appearance of the Ribbon would not be tidy.

    I have tried using InvalidateControl on the ButtonSeparator and then setting to Visible (and Enabled) to false. However this does not work.

    Any ideas are greatly appreciated.


    Thursday, April 11, 2013 10:47 AM


All replies