This question is locked. New answers and comments are not allowed.
Hi,
I would like to remove the currentItem focus rectangle from my grid as it is read only and giving a cell the focus doesn't really make sense and makes the grid look "cluttered".
I have tried a solution I found in the forum with adding a "RowLoaded" callback to the grid and inserting the code:
But this callback has no effect on my Focus rectangle.
Anything else I can try?
I would like to remove the currentItem focus rectangle from my grid as it is read only and giving a cell the focus doesn't really make sense and makes the grid look "cluttered".
I have tried a solution I found in the forum with adding a "RowLoaded" callback to the grid and inserting the code:
if (e.Row is GridViewRow) { e.Row.ChildrenOfType<Rectangle>().Where(r => r.Name == "CurrentBorder").ToList().ForEach(r => r.Opacity = 0); } But this callback has no effect on my Focus rectangle.
Anything else I can try?