开发者

WPF - Weird results with DataGrid - extra line for editing entries

Working with WPF and C#. I have a page with a datagrid that lists a series of objects with List as the DataContext. I recently had it working in the code behind and the Datagrid woul开发者_运维知识库d show the extra line at the bottom of the datagrid for new entries. Now, I have moved the exact same code to its own library project. The data still appears but the extra line for entry does not and users cannot add a new record.

I have already tried using grid.CanUserAddNew = true; but that does not solve it. So, it must be something in the List object - it's the exact same code as before, only pulling from a library.

Help.


my guess is that the extra line is still there but is not visible.

could you make sure the hight and widths are ok.

also what other options attributes do you have defined for the grid?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜