(X) Hide this Upcoming webinar on Feb 23rd, 10 am PST (see your local time): Building Line-of-business Applications with Silverlight & WCF Data Services
More webinar info | Register | Other webinars
Tweet @silverlightshow and win a SilverlightShow Tweet-shirt. Learn how >>
Skip Navigation LinksHome / News / View News

Prism 4 – Silverlight and Custom Commands

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Nov 22, 2010
(0 votes)

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterThis blog pots of Lee is on Custom Commands in Silverlight and Prism 4.

Source: Lee's corner

Silverlight 4 includes commanding support for ButtonBase classes, but for anything else we would need to write a little bit of code.

There is a nice section here on how to extend this to other situations. Here is a quick sample on how to create command support for MouseLeftButtonDown on an UIElement. You can download the code from here.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 2 and 6 and type the answer here: