There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Multiple menus appear when elements are on top of each other
I have a scenario where I have a UserControl on a Canvas and both have popup menus. They both have the proper RightClickElements set, but when I right-click on the UserControl, both popup menus appear. After reviewing the code, it appears to be because
PopupMenuBase::TriggerElement_MouseRightButtonUp() does not set e.Handled = true, cause both menus to appear. This should set e.Handled = true, just as triggerElement_MouseRightButtonDown() does.