WPF datagrid 'newitemplaceholderposition' is not allowed during a transaction begun by 'addnew'

前端 未结 5 817
夕颜
夕颜 2021-01-02 23:49

I have a tabControl on a WPF form.

In one of the Tab Items I have a User Control that contains a DataGrid which has CanUserAddRows="True". The

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-03 00:12

    I had such a problem, but in my case the Grid was wrapped in an AdornerDecorator, removing it, everything worked

提交回复
热议问题