Recommended

  • Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Skip Navigation LinksHome / News / View News

Silverlight Tip of the Day #8 – Detecting Alt, Shift, Control, Window & Apple Keys Combinations

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Apr 30, 2010
(0 votes)
Tags: Tips , Mike Snow
This next tip of Mike Snow is on detecting all the mouse buttons and alt/shift/ctrl combinations in Silverlight.

When mouse clicking or typing a key in your Silverlight application how do you know if any combination of the <Alt>, <Shift>, <Ctrl>, <Windows> and/or <Apple> keys are down as well?To accomplish this you simply need to check the Keyboard.Modifiers member which returns a ModifierKeys object.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 1 and type the answer here:

Welcome to SilverlightShow - the portal for Silverlight resources. You can find here daily news (RSS), articles authored exclusively for SilverlightShow (RSS), showcases, tips, books, and much more! Follow us on twitter.
Join the discussions and sharing of experience by becoming a member. Or, find out the top 10 reasons to sign up. Thanks for stopping by! (hide this)