Open SergeySmirnov-Akvelon opened 3 years ago
@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.
Verified this issue in the latest .NET 9.0 RC1 build: 9.0.100-rc.1.24407.28, it was fixed:
Verified it with .NET 9.0.100-rc.1.24422.10 test pass build that the issue has been fixed, which have the same results as above.
Reverted this fix - https://github.com/dotnet/winforms/pull/12246 due to a regression when GridColor is set to a custom color and incompleteness of this fix - RightToLeft.No layout produces row headers border that it not contrasting enough too.
.NET Core Version:
Have you experienced this same bug with .NET Framework?:
Repro steps:
Form
with aDataGridView
.DataGridView
.DataGridView
.DataGridView.RightToLeft = RightToLefYes
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.