Wednesday, 15 January 2014

xaml - Wpf datagrid doesn't show current cell selection when focus is lost -


I have WPF DataDrid where I am using a combination of row selection and cell selection.

That is - I want to select the entire line and along with the currently selected one, if I use SelectionUnit = FullRow and SelectionMode = single and it looks very nice together with a thick cell range So this is working fine.

The problem is that when the data grid loses the focus only the row selection appears, the current cell properties are reset and the user has no way to figure out which room is selected. This also happens when the URO is interacting with the content in the Rowet panel.

Is there any way to change the behavior of the existing cell so that it shows the selected cell not focusing too?

Do not use CurrentCell to track the selected row

        MySelectedItem} "& gt; ... & lt; / DataGrid & Gt;    

No comments:

Post a Comment