title: How to databind using to a 2d array of objects of different types
body: <p>I've got a couple of separate but related questions, and I'm new to WPF so bear with me on this.</p>
  
  <p>I have a 2d array of IFarmyardSpaces, some of these are FenceSpaces, some are FieldSpaces, etc.  I basically want a grid of buttons that binds to each of these spaces, with the appropriate button styling depending on which type of IFarmyardSpace it is.</p>
  
  <p>Now the questions:
  1) Is it possible to easily databind what is essentially a checkerboard type of layout and have the individual items style themselves in different ways?</p>
  
  <p>2) If not and I need to create and bind the buttons individually, how do I bind a button to a specific object in the 2d array?  Like if I want a button that binds to the FenceSpace that is in FarmyardSpaces[0,3]?</p>
  
  <p>Thanks in advance!</p>