title: Dynamic in xaml Data Template selector
body: <p>Ok I found this wonderful idea on code project.
  <a href="http://www.codeproject.com/Articles/418250/WPF-Based-Dynamic-DataTemplateSelector" rel="nofollow">link</a></p>
  
  <p>The idea is great add all your data templates to collection in your list box. Tell each one what to look for (a type) and what data template to use when it runs into that type. The problem is that the included source code is different from the on page code and I can't seen to get any combination of it to work. Even adding the missing quotation marks and changing the  type to a local class instead of the non-accessible string and int32 classes. </p>
  
  <p>So the question is. What am I doing wrong? </p>
  
  <p>Bryan </p>