Making a row non-focusable in a WPF datagrid
I'm trying to figure out how to make the rows in the following WPF DataGrid non-focusable. As you can see I tried adding a <DataGrid.Resources> section to the DataGrid where I'm specifying a DataGrid cell style but this isn't working. What am I missing? <DataGrid Name="grdResources" AutoGenerateColumns="False" SelectionUnit="FullRow" AlternatingRowBackground="LightBlue" CanUserDeleteRows="False" CanUserAddRows="False" CanUserReorderColumns="False" ClipboardCopyMode="ExcludeHeader"> <DataGrid.Resources> <DataGridTemplateColumn.CellStyle> <Style TargetType="DataGridCell"> <Setter Property=