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.
CanUserAddRows
<DataGrid CanUserAddRows="False" />
2.1m questions
2.1m answers
60 comments
57.0k users