Blog Home  Home Feed your aggregator (RSS 2.0)  
kevin Mocha - WPF Commanding - When do Commands re-evaluate their CanExecute method?
Bookmarks collected from web.
 
 Thursday, May 28, 2009
  1: m_DispatcherTimer = new DispatcherTimer()
  2: {
  3: Interval = TimeSpan.FromSeconds(0.25),
  4: IsEnabled = true
  5: };
  6: 
  7: m_DispatcherTimer.Tick += delegate
  8: {
  9: CommandManager.InvalidateRequerySuggested();
 10: };
 11: 

http://robburke.net/2008/04/23/wpf-command-pattern-when-does-it-query-canexecute/

Thursday, May 28, 2009 5:47:02 AM UTC  #    Comments [0]    |  Trackback
Copyright © 2010 Kevin Mocha. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: