How Do I Hide wpf datagrid row selector
Instead of setting the Width you can completely hide the row headers by setting on the DataGrid HeadersVisibility=”Column”
Instead of setting the Width you can completely hide the row headers by setting on the DataGrid HeadersVisibility=”Column”
The WPF DataGrid has an IsReadOnly property that you can set to True to ensure that users cannot edit your DataGrid‘s cells. You can also set this value for individual columns in your DataGrid as needed.
For single click DataGrid checkbox you can just put regular checkbox control inside DataGridTemplateColumn and set UpdateSourceTrigger=PropertyChanged. <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox IsChecked=”{Binding Path=IsSelected, UpdateSourceTrigger=PropertyChanged}” /> </DataTemplate> </DataGridTemplateColumn.CellTemplate>