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
350
How disabled default options on popup menu...
posted

This control (UltraExploreBar) has default values ​​by clicking the right mouse button, such as adding a group, and other item.

I have a particular contextual menu associated with this control.

When I do right click the control menu appears first by default and then my custom menu.How I can disable the default menu control ultraexplorebar?

Thanks ....

Parents
  • 53790
    posted

    Hello Xavendano,

    Maybe one possible approach to achieve the desired behavior is to handle these two events:

    private void ultraExplorerBar1_NavigationContextMenuInitializing(object sender, Infragistics.Win.UltraWinExplorerBar.CancelableNavigationContextMenuInitializingEventArgs e)

    {

        e.Cancel = true;

    }

     

    private void ultraExplorerBar1_ContextMenuInitializing(object sender, Infragistics.Win.UltraWinExplorerBar.CancelableContextMenuInitializingEventArgs e)

    {

        e.Cancel = true;

    }

    Please let me know if you have any further questions.

    Regards

Reply Children
No Data