Category: WPF

  • Automatic Exception Handling on ICommand ViewModel Properties

    Automatic Exception Handling on ICommand ViewModel Properties

    If you’re writing a WPF application or some other XAML-based application, you’re probably using the Model-View-ViewModel (MVVM) pattern.  If you’re being “good” about your MVVM implementation, you’re putting all your button click handling code into ICommand properties on your ViewModels.  (What!? You’re not doing that?  Naughty naughty!  You should!  It makes it so much more […]