Click here to Skip to main content
15,895,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am creating my Custom hyperlink button deriving from Silverlight HyperlinkButton I want to create Right Click and Middle click event on it. Can some help me please.


Thanks,
Gobind
Posted

1 solution

Probably, you're an author of this post: http://stackoverflow.com/questions/22287320/how-to-create-right-click-and-middle-click-event-on-custom-hyperlink-button[^]. There you'll find 1 solution.

Have a look here: HyperlinkButton Events[^]. You can try to use: MouseLeftButtonDown, MouseLRightButtonDown, etc.
 
Share this answer
 
Comments
gobind_786 28-Mar-14 15:16pm    
Thanks for reply Maciej, I can create RightClick using MouseRightButtonDown but How to implement the MIDDLECLICK event on hyperlink, Since I have Silverlight hyperlink button, there I don't have any way to capture the Middle button click of Mouse. Please suggest some way out if you know, I read somewhere we can do it using JavaScript but I don't know How. ....

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