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
355
In Customize Dialog, is it possible to allow the user to remove selected Tabs/Groups/Tools?
posted

I am using RibbonCustomizationProvider to display built-in dialog to customize ribbon. I would like to allow the user to create and remove custom Tabs/Groups and Not allow to remove exisitng Tabs/Groups/Tools. Is possible to achive? It seems that StockModificationOptions apply to all Tabs/Groups/Tools. 

Parents
No Data
Reply
  • 1935
    Suggested Answer
    posted

    Hi rossan01,

     

    When you drop the UltraRibbonCustomizationProvider on the form, the StockItemModificationOptions property is set to None by default. This means that you can’t remove/modify/hide default tabs/groups. If you want to perform any action of the default tabs/groups, you should check all the appropriate StockItemModificationOptions items.

    Custom Tabs/Groups have nothing to do with StockItemModificationOptions property. You can always add/modify/remove custom Tabs/Groups. So it seems that your scenario can be done by just adding the UltraRibbonCustomizationProvider on the form.

     

    You can take a look at the following help topic, called “Using the Ribbon Customization Dialog” http://help.infragistics.com/NetAdvantage/WinForms/2013.1/CLR4.0/.

     

    Please let me know if you need any further assistance or if I have not understand you correctly.

     

    Sincerely,

    Martin,

    Senior Software Engineer in Test 

    Infragistics

    www.infragistics.com

Children