title: Populate WPF DataGrid dynamically
body: <p>My program needs to take input from a fire alarm panel over a serial connection and populate a list based on it.  When a new device is reported from the panel, the statement is parsed and the device is added to the device List.</p>
  
  <p>That part of my program all works fine and dandy.  The problem now is displaying the list of fire alarm devices to the user.</p>
  
  <p>I am hoping to do this using a DataGrid (unless there's a better way?) but am not able to find a lot of helpful documentation on WPF DataGrids that is relevant to me.  Most of what's out there seems to be displaying data from a database.  Mine however, needs to update every time the panel spits out a new device description and the device List in my program is appended.  </p>
  
  <p>I see I can set AutoGenerateColumns to true and initially display my list just fine.  BUT, I would like to customize the column headers.  Also this doesn't update when the List is appended so I'm not sure how to "refresh" it.  </p>
  
  <p>When AutoGenerateColumns is false, I get no data displayed.  When the program runs it shows me the correct number of rows corresponding to the number of items in my list, but no data.  Wondering how/if I need to link each column with its corresponding device data member?  </p>
  
  <p>Lastly, how do you format a DataGrid to look pretty through re-sizes?  I can set column width and all that, but what I want is a few of the columns to be fixed width, and the middle column to expand to fill remaining available area.</p>
  
  <p>This is my first stab at WPF.  Any help would be greatly appreciated!  </p>