i know how to create a left-click context menu for a button, but I am not too sure how to do it for a right click? (i.e. how to specify that the context menu should appear o
Here is a sample:
<Button Content="button" Name="btn" Width="100"> <Button.ContextMenu> <ContextMenu> <MenuItem Header="Cut"/> <MenuItem Header="Copy"/> <MenuItem Header="Paste"/> </ContextMenu> </Button.ContextMenu> </Button>