I am using a WPF Data Grid. Whenever it is loaded there is a blank default row. How can I disable the default row 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" />
Liked By
Write Answer
How to Remove Default Row In Wpf data Grid
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
23-Sep-2013This 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" />