C#

  • |

    Bridge

    Quick Information/Overview Pattern Type Structural Applicable Language/Framework Agnostic OOP Pattern Source Gang of Four Difficulty Somewhat complex to grasp, moderate to implement. Up Front Definitions There are no special definitions that I’ll use here not defined inline. The Problem The iconic example of a situation in which the Bridge pattern is applicable is modeling a…

  • WPF Combo Boxes

    I thought I’d put together a quick post today on something that annoyed me and that I found unintuitive: binding with the WPF combo box. I’m doing some development following MVVM, and a situation came up in which I had a view model for editing a conceptual object in my domain. Let’s call it a…

  • |

    MVVM and Dialogs

    For those familiar with the MVVM (Model, View, View-Model) pattern in .NET development, one conundrum that you’ve probably pondered, or at least read about, is what to do about showing a dialog. For a bit of background, MVVM is centered around the concept of binding from the View (XAML markup) to the “ViewModel”, which essentially…