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
275
How hide "AddToQuickAccessToolbar"
posted

 

hi guys...

how can i disable or hide the first option in the menu displayed over ?

 

thenk you in advance...

  • 71886
    Suggested Answer
    Offline posted

    Hello vii,

    The behavior you are looking for is available when the Office2007UICompatibility property of the ultraToolbarsManager is set to false. If you are doing so some elements are always visible even if they are disabled.

    You could read about the capabilities at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/HTML/Win_Using_Microsoft_Office_2007_UI_Capabilities.html

    You could see the part you are intrested in, it says:

    'The ShowQuickAccessToolbarAddRemoveMenuItem, ShowQuickAccessToolbarPositionMenuItem and ShowMinimizeRibbonMenuItem of theBeforeToolbarListDropdown event will be ignored and these items will always be shown in the right-click menu.'.

    Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Feel free to write me if you need further assistance.

  • 275
    posted

    any suggestion ???