Datagrid with frozen columns: Adorner of moving columns visual issue
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
I have a datagrid with one frozen column. One other/moving column has an adorner (red rectangle on the border of the cell + triangle) shown (validation error). When I scroll horizontally the column moves behind the frozen column, but the adorner does not.

I know the nature of adorners and how they are placed in the visual tree. So I know this isn't an easy thing to solve. But it is a quite obvious bug for the user.
### Reproduction Steps
1. Create a datagrid with 4 columns.
2. The IsFrozen=true for the 1st one.
3. Add an adorner to the 3rd one.
4. Scroll so the 3rd column moves behind the frozen 1st one.
### Expected behavior
The adorner should also move behind the frozen columns as well.
Alternative: The adorner should get invisible once the column enters behind the the frozen column, not just when its fully behind it.
### Actual behavior
The adorner moves over the frozen column
### Regression?
This is the case since ever afaik
### Known Workarounds
No known workarounds. But I'm happy if someone could tell me one.
### Impact
_No response_
### Configuration
_No response_
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.