-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
[Change Title]
To meet accessibility standards DataGridView
now shows cell's text and errors as tooltips when navigated by both mouse and keyboard (.e.g tab/arrow navigation, hotkeys).
Version introduced
3.1
Old behavior
Previously DataGridView
would only show cell's tooltips and error text (if those were set) when navigated by mouse.
While editing a cell in a DataGridView
that had ShowCellToolTips = true
, CellFormatting
event would be raised whenever other cells would be hovered and that did not have ToolTip
property set.
New behavior
DataGridView
now shows cell's text and errors as tooltips when navigated by both mouse and keyboard (.e.g tab/arrow navigation, hotkeys).
While editing a cell in a DataGridView
that had ShowCellToolTips = true
, CellFormatting
is no longer raised whenever other cells are hovered because the content of hovered cells is shown as tooltip.
Reason for change
Accessibility requirements
Recommended action
Refactor the code that may have depended on CellFormatting
event while DataGridView
is in edit mode.
Category
- Windows Forms
Affected APIs
"Not detectable via API analysis"
Issue metadata
- Issue type: breaking-change