I wanted to make the particular row at data grid as a non editable filed using WPF.so please help me out
Asked
Active
Viewed 626 times
2 Answers
1
You can make the cell non-editable by setting the property IsReadOnly
for that column as true. Also, you can disable the entire datagrid to be non-editable by setting this property to true. But this property is not there for DatagridRow, you have to create your own Depenedency property
and bind to that property through style of DataGridRow
. You can refer to this sample for disabling particular row in datagrid - Disable row in dataGrid

Rohit Vats
- 79,502
- 12
- 161
- 185