title: When not to template a WPF ListBox...?
body: <p>I'm looking to represent a collection of different but related data types and give the user the chance to edit these. I can't represent them in a grid because each type is different and therefore doesn't lend itself to a grid layout.</p>
  
  <p>e.g.<br>
  <code>Type1</code> - properties are <code>From, To, Threshold, Enabled</code><br>
  <code>Type2</code> - properties are <code>From, ExecutedPercent, Benchmark, Enabled</code><br>
  etc</p>
  
  <p>These types are related but different so I'm thinking of creating a tool bar with the types along the top. When the user selects Type1 I generate the UI using a custom ItemTemplate on a ListBox, same for Type2. I am therefore swapping out the ItemTemplate at runtime and changing the data source.</p>
  
  <p>Questions:<br>
  1. Does this sound like a reasonable approach?<br>
  2. Does it make sense to item template ListBox?<br>
  3. Are there any other controls I should think about templating here? It seems to me that ListBox is about the perfect candidate for any kind of List source when all the items need to be displayed.  </p>
  
  <p>Thanks in advance</p>