Open Varmod opened 1 year ago
looks like a custom style. Please share a sample to reproduce.
Sample: DatagridLinesIssue.zip
👀 I can reproduce, thx.
👀 I can reproduce, thx.
This issue is also there in the default Fluent DataGrid style, but it only affects header cells (all cells below are fine):
saw it. I have no idea where it comes from atm. Propably some rounding issue during resize. If you have the time to dig into, you may try other rounding strategy in resize method (using samples/ControlCatalog).
Hello. Try setting the property UseLayoutRounding
on False
.
The problem is precisely rounding. Also, overriding the rounding method inside the table introduces errors. As a result, I cleared the overridden rounding method and use UseLauotRoinding=False
We might need to set UseLayoutRounding on the lines directly, if it helps.
Describe the bug When a datagrid column is resized, and the user scrolls horizontally some of the vertical gridlines will vanish. Returns to normal when the datagrid is in it's leftmost position.
To Reproduce
Expected behavior Grid lines should not vanish.
Screenshots
Normal
The whole vertical gridlines vanishes if it's close to the left screen
The header vertical gridlines vanishes the moment you resize
Desktop (please complete the following information):
Additional context