Posted 16 years ago
by RS

I'm having trouble figuring out how to prevent the default context menu from appearing.
By the time the ContextMenuOpening event is raised, .Handled is already set to True. I've tried defining an empty context menu too - but still the default one gets shown.
Short of handling PreviewMouseRightButtonUp is there a correct way to implement a custom context menu?
By the time the ContextMenuOpening event is raised, .Handled is already set to True. I've tried defining an empty context menu too - but still the default one gets shown.
Short of handling PreviewMouseRightButtonUp is there a correct way to implement a custom context menu?
RS