If you are receiving the error like: Value cannot be null, parameter name: xxxx, that means you forget to bind the field for you DataGridTextColumn.
For example, if there is a name column in the Datagrid's source,
you can make DataGridTextColumn bind to name
<data:DataGridTextColumn Header="TypeHeader" Binding="{Binding name}" />