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
1833
Explorer Bar - Disable Modifications of Groups and Items
posted

I have disabled 'Allow Edit' on both the group and item settings yet it is still possible to create groups and items at runtime. As this offers no benefits to the user I would prefer to disable these features. How exactly is this done?

Thanks!

  • 69832
    Verified Answer
    Offline posted

    You can handle ContextMenuInitializing (or NavigationContextMenuInitializing for the OutlookNavigationPane style), and cancel the event to prevent the context menu from appearing. The event args class also exposes the ContextMenu as a property so you can add/remove items.