In DataGridViewthe default row is selected and highlighted. How can I remove this default selection and highlight?
DataGridView
I realized that myself.
After filling, DataGridI called the following method:
DataGrid
datagrid.ClearSelection();
I found that faking selection prevention worked better for me.
See also here for a more complete solution.
Use this to remove row selection in a WPF application:
DataGridName.UnselectAll();