winforms
winforms copied to clipboard
Row header border line of the DataGridView control has very low luminosity contrast ratio
.NET Core Version:
- .NET Core SDK: 7.0.0-alpha.1.21512.1
Have you experienced this same bug with .NET Framework?:
- Yes
Repro steps:
- Create a
Form
with aDataGridView
. - Add multiple columns to a
DataGridView
. - Add several rows to the
DataGridView
. - Set
DataGridView.RightToLeft = RightToLefYes
- Run the application.
Actual behavior:
Row header border line of the DataGridView
control has very low luminosity contrast ratio.
RightToLeft = Yes
:
RightToLeft = No
:
Expected behavior:
Luminosity contrast ratio of the row header border line of the DataGridView
control should be greater than 3:1.
@Olina-Zhang I think this might have been resolved in another issue/pr. Can your team please re-test?
It still repro in the latest .Net 9.0 SDK build: 9.0.100-alpha.1.24053.14.