How come my databinding is writing out the Length property?

前端 未结 2 417
野趣味
野趣味 2021-01-27 04:15

So I\'ve setup a viewmodel to where it binds an ObservableCollection to my DataGrid.

It prints out the value just fine but it also prints out

2条回答
  •  醉话见心
    2021-01-27 04:54

    I forgot to add the property AutoGenerateColumns="False". Not sure why it was set to true by default or why it woudl choose the length property of all the properties but I guess I got it fixed.

提交回复
热议问题