开发者

How to Remove Default Row In Wpf data Grid

I am using a WPF Data Grid. Whenever it is loaded there is a blank default row. How can I disable the default row 开发者_Go百科from appearing like you can in the Windows Forms grid.


This is the row for new entries. If you don't want let the user create new entries or if you handle this from code, e.g. with a add-button, disable the CanUserAddRows-option.

<DataGrid  CanUserAddRows="False" />
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜