Click here to Skip to main content
16,013,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to open context menu in left click throw wpf mvvm?
tell me a solution to this scenario:
when user right click context menu of button doing some operation is working but now i need same process doing left click.how will do using wpf mvvm design pattern.

please help me ...
Posted
Updated 19-Jan-14 22:21pm
v7

1 solution

You can handle the MouseLeftButtonDown event for that button and You can create your custom context menu in that event.

see below link for more reference.
[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900