Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Show ContextMenu on a key press

$
0
0

I have a contextmenu defined as part of border of a user control.

On right-click of items inside the border, the context menu is showing up and

I would like to show the context menu when a key is pressed when the keyboard focus is already in the usercontrol

How do I perform this using WPF


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>