Skip to content

Conversation

SergeySmirnov-Akvelon
Copy link
Contributor

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon commented Oct 28, 2021

Fixes #1587

Proposed changes

  • Since the ComboBox in the Nothing display style and view mode is displayed as a normal cell, a condition was added so that for this case it would return the DataItem control type instead of the ComboBox control type. Support for the ExpandCollapse pattern is also disabled for this case

Customer Impact

Before fix:
image

After fix:
image
image

Regression?

  • No

Risk

  • Minimal

Test methodology

  • Unit tests
  • Manually

Accessibility testing

  • Inspect

Test environment(s)

  • Microsoft Windows [Version 10.0.19041.804]
  • .NET Core SDK: 7.0.0-alpha.1.21526.1
Microsoft Reviewers: Open in CodeFlow

…de when the DisplayStyle property is set to Nothing. dotnet#1587

Since the ComboBox in the "Nothing" display style and view mode is displayed as a normal cell, a condition was added so that for this case it would return the "DataItem" control type instead of the "ComboBox" control type. Support for the "CollapseExpand" pattern is also disabled for this case
@RussKie RussKie merged commit 4c0d486 into dotnet:main Oct 28, 2021
@RussKie RussKie deleted the Issue-1587_DataGridViewComboBoxColumn_DisplayStyle_Nothing branch October 28, 2021 23:30
@ghost ghost added this to the 7.0 alpha1 milestone Oct 28, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The DataGridViewComboBoxColumn cannot be displayed as combobox mode when the DisplayStyle property is set to Nothing.
2 participants