SilverLight TroubleShoot: value cannot be null parameter name: binding

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}" />

你可能感兴趣的:(silverlight)