I'm trying to prevent cells from being focused. I saw this piece of code on another forum post:
This works until I start editing a cell. I saw something about creating a custom theme, but I do not know how to do that. I am really hoping that there is a property I missed that says "don't draw cell focus", but I can't find it.
if (gridCellElement != null){ if (gridCellElement.IsCurrent) { gridCellElement.IsCurrent = false; gridCellElement.IsCurrentColumn = false; } else { gridCellElement.ResetValue(LightVisualElement.DrawBorderProperty, ValueResetFlags.Local); gridCellElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local); }}This works until I start editing a cell. I saw something about creating a custom theme, but I do not know how to do that. I am really hoping that there is a property I missed that says "don't draw cell focus", but I can't find it.