winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Row header border line of the DataGridView control has very low luminosity contrast ratio

Open SergeySmirnov-Akvelon opened this issue 3 years ago • 5 comments

.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:

  1. Create a Form with a DataGridView.
  2. Add multiple columns to a DataGridView.
  3. Add several rows to the DataGridView.
  4. Set DataGridView.RightToLeft = RightToLefYes
  5. Run the application.

Actual behavior: Row header border line of the DataGridView control has very low luminosity contrast ratio.

RightToLeft = Yes: image

RightToLeft = No: image

Expected behavior: Luminosity contrast ratio of the row header border line of the DataGridView control should be greater than 3:1.

SergeySmirnov-Akvelon avatar Oct 13 '21 11:10 SergeySmirnov-Akvelon

@Olina-Zhang I think this might have been resolved in another issue/pr. Can your team please re-test?

elachlan avatar Jan 06 '24 00:01 elachlan

It still repro in the latest .Net 9.0 SDK build: 9.0.100-alpha.1.24053.14. image

Olina-Zhang avatar Jan 08 '24 02:01 Olina-Zhang