'EditItem' is not allowed for this view - databinding issue

后端 未结 3 1165
余生分开走
余生分开走 2021-01-18 19:43

I am trying to do data binding in WPF on data grid using a cutom list. My custom list class contains a private data list of type List. I can not expose this list however the

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-18 20:20

    I had the same exception. It seems that you have to bind do IList. I was binding to a IEnumerable and this exception was thrown.

提交回复
热议问题