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
380
Default Silverlight Context Menu from rightclick inside XamContextMenu
posted

When you right click inside a XamContextMenu you get the default silverlight context menu.

Can this be turned off, or is it a bug?

Thanks, -Mark

  • 3071
    posted

    Hi Mark,

    This is not a bug. You can skip displaying the configuration dialog:
    <ig:XamContextMenu MouseRightButtonDown="XamMenuItem_MouseRightButtonDown">
    ...

     

     

     

     

     

    private void XamMenuItem_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
    {
      e.Handled =
    true;
    }

     

     

    Regards,
    Marin