Skip to content

DataGrid - how do I disable the data grid cell border when selected (visually allow row selection but not cell selection)? #8854

Answered by timunie
zaminda asked this question in Q&A
Discussion options

You must be logged in to vote

Try to override this Selector:

<Style Selector="DataGrid:focus DataGridCell:current /template/ Grid#FocusVisual">
<Setter Property="IsVisible" Value="True" />
</Style>

Happy coding
Tim

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@DmitriiShamrikov
Comment options

@rabbitism
Comment options

@DmitriiShamrikov
Comment options

@rabbitism
Comment options

@DmitriiShamrikov
Comment options

Answer selected by zaminda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants