Skip to content

Fix DataGridViewCheckBoxCell error icon suppression in edit mode#14747

Open
KSaiSivani wants to merge 2 commits into
dotnet:mainfrom
KSaiSivani:Fixed_Issue_1929
Open

Fix DataGridViewCheckBoxCell error icon suppression in edit mode#14747
KSaiSivani wants to merge 2 commits into
dotnet:mainfrom
KSaiSivani:Fixed_Issue_1929

Conversation

@KSaiSivani

@KSaiSivani KSaiSivani commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #1929

Proposed changes

  • Removed suppression logic that hid the error icon when a DataGridViewCheckBoxCell was the current cell in edit mode.

  • Added unit tests (DataGridViewCheckBoxCell_ErrorIconBounds_RemainsVisible_InEditMode) to validate that error icons remain visible when the cell is selected, focused, and in edit mode.

Customer Impact

  • Users will now see error icons consistently on checkbox cells.

Regression?

  • No

Risk

  • Low

Screenshots

Before

Error icon disappears when checkbox cell is selected.

CheckBoxCell_BeforeFix.mp4

After

Error icon remains visible when checkbox cell is selected.

CheckBoxCell_AfteFix.mp4

Test methodology

  • Added targeted unit tests for DataGridViewCheckBoxCell error icon visibility in edit mode.

  • Verified error icon remains visible across selection, focus, toggle, and edit scenarios.

Test environment(s)

  • .NET SDK: 11.0.100-preview.5.26302.115
Microsoft Reviewers: Open in CodeFlow

@KSaiSivani
KSaiSivani requested a review from a team as a code owner July 16, 2026 09:29
@KSaiSivani KSaiSivani changed the title added fix and test for issue 1929 Fix DataGridViewCheckBoxCell error icon suppression in edit mode Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The ""cell error" icon can't be seen after selected the "CheckBox" cell of the DataGridView control

1 participant