Thumbnail View Resource
Source

http://www.codeproject.com/favicon.ico www.codeproject.com (The Code Project), posted 2010-06-08

Added By

Avatar BillHenn on 2010-06-22

Vitals
0score
  • 5846 total views
Summary
Uses attached properties in WPF or Silverlight to loosely couple UI element events to arbitrary code.
Excerpt
"Are you using the MVVM pattern? Are you binding ICommands to your button-based controls and handling the events in your view model? Have you seen the RelayCommand? It's pretty cool, and I like that it lets you enable/disable your buttons by implementing a CanExecute predicate. Although I'm not trying to discourage you from using the ICommand approach to loose-coupling, you may however want to use (or maybe just learn about) another option. This article is my first contribution to the community. I've created what I think is a nifty class and I'd like to share it with everyone. Perhaps someone will find it useful."
Full Link

http://www.codeproject.com/kb/silverlight/bobeck_eventbroker.aspx

About The Code Project

The Code Project is a community of software development and design developers joined together with certain common goals: to learn, to teach and to have fun programming. Developers from all over the world come together to share source code, tutorials and knowledge for free to help their fellow programmers. It is extremely popular and is one of the best places on the web to look for open source implementations of .NET control, components, and techniques. http://www.codeproject.com/

The WPFpedia resource guide has 238 total links to this site.

Comments 

There aren't any comments yet for this resource. Be the first to add one!

Add a Comment

Please log in to post comments.

Tags

Tasks

Thumbnail Screenshots by Thumbshots