Catalogue of Artificial Inheritance Context Techniques

I spent my lunch break today publishing an article that I’ve been working on for a couple of days. It explains and shows examples of three techniques I have developed for creating an artificial inheritance context.  This is useful for binding elements that are not in an element tree to the elements in the tree. If you are interested in checking it out, read “Artificial Inheritance Contexts in WPF“.

Enjoy!

3 Responses to Catalogue of Artificial Inheritance Context Techniques

  1. Hi Josh,
    I successfully used your VirtualBranch pattern to implement a workaround for the problem that InputBinding.Command / InputBinding.Parameter are not bindable. This Virtual Branch is really a cool idea!

  2. Josh Smith says:

    I’m glad to hear that, Quang. I’ve heard of quite a few people using that pattern successfully. It’s simple enough to be used in many situations.

  3. Hi Josh,
    Another usage of Virtual Branch:

    I have tried to use the AvalonDock docking library in the Codeplex and the Virtual Branch rescued me again to get the right data context when the windows change to floating mode🙂

%d bloggers like this: