GridViewRowPresenter adds Margin to ContentPresenter in code when creating cells
Open
API suggestion
Design Discussion
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Bug has been in WPF since the beginning
**Problem description:**
When GridViewRowPresenter creates a cell in a ListView/GridView combination, it arbitrarily adds a Margin of 6,0,6,0 in code to the ContentPresenter. This means that you cannot style the GridView correctly unless you add a negative margin in your style to reverse this behaviour - which is what some of us have had to do for years. Would be great if this could be fixed
Contributor guide
Assessment
This issue has not been assessed yet.