dotnet / dotnet/winforms

There have different behaviors for cell border line between RightToLeft=Yes and RightToLeft=No modes for DataGridView control

Open
#12,349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

.NET SDK 10.0.100-alpha.1.24510.13

### Did it work in .NET Framework?

No, also can reproduce the issue

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, the issue can reproduce form .NET Core 3.1 to 10.0

### Issue description

There have different behaviors for cell border line between RightToLeft=Yes and RightToLeft=No modes for DataGridView control
![Image](https://github.com/user-attachments/assets/84491aec-e666-4ad5-ad4c-91babe29dd8e)

### Steps to reproduce

1. Create a .NET Winforms project with a DataGridView control.
2. Add some columns for the dataGridView1 control.
3. Set the RightToLeft property as Yes.
4. Run the project, then observe the behavior for the cell border line by using Accessibility Insights tools

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.