skip to main | skip to sidebar

Simple test

Used mostly for testing

Sunday, February 26, 2012

WPF MVVM RelayCommand - Lambda expression for Execute

Like this: // Get ViewModel - provided it is set on init or in XAML MainWindowViewModel viewModel= (this.DataContext as MainWindowViewModel); // aboutCommand lives in ViewModel viewModel.AboutCommand = new RelayCommand( () => { About p=new About(); p.ShowDialog(); } );
Posted by Alextr98 at Sunday, February 26, 2012 No comments:

Sunday, February 19, 2012

Gets them every time ... in WCF

context.Configuration.ProxyCreationEnabled=false;
Posted by Alextr98 at Sunday, February 19, 2012 No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2014 (5)
    • ►  December (1)
    • ►  October (1)
    • ►  April (3)
  • ►  2013 (2)
    • ►  November (1)
    • ►  January (1)
  • ▼  2012 (5)
    • ►  August (2)
    • ▼  February (2)
      • WPF MVVM RelayCommand - Lambda expression for Execute
      • Gets them every time ... in WCF
    • ►  January (1)
  • ►  2011 (6)
    • ►  November (1)
    • ►  September (1)
    • ►  August (3)
    • ►  April (1)
  • ►  2010 (2)
    • ►  October (1)
    • ►  July (1)
  • ►  2009 (6)
    • ►  December (1)
    • ►  January (5)
  • ►  2008 (14)
    • ►  December (8)
    • ►  November (2)
    • ►  January (4)
  • ►  2007 (18)
    • ►  December (1)
    • ►  October (1)
    • ►  June (2)
    • ►  May (2)
    • ►  February (6)
    • ►  January (6)

About Me

Alextr98
View my complete profile