现在的位置: 首页 > 综合 > 正文

SilverLight TroubleShoot: value cannot be null parameter name: binding

2012年11月20日 ⁄ 综合 ⁄ 共 292字 ⁄ 字号 评论关闭

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

抱歉!评论已关闭.