Skip to content

Move sub-classes of "DataGridViewTopLeftHeaderCell", "FlatButtonAppearance" and "FontCacheEntry" classes to their own files - #4695

Merged
RussKie merged 3 commits into
dotnet:mainfrom
SergeySmirnov-Akvelon:Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry
Mar 25, 2021
Merged

RussKie merged 3 commits into
dotnet:mainfrom
SergeySmirnov-Akvelon:Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry

Conversation

@SergeySmirnov-Akvelon

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon commented Mar 18, 2021 •

Copy link
Copy Markdown
Contributor

Proposed changes

  • Moved sub-classes of "DataGridViewTopLeftHeaderCell", "FlatButtonAppearance" and "FontCacheEntry" classes to their own files
  • Enabled NRT
  • Fixed Style issues and code sorting.

Customer Impact

  • No

Regression?

  • No

Risk

  • Minimal

Test environment(s)

  • Microsoft Windows [Version 10.0.19041.388]
  • .NET Core SDK 6.0.0-alpha.1.21073.5
Microsoft Reviewers: Open in CodeFlow

@codecov

codecov Bot commented Mar 18, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #4695 (db632bb) into main (61d0963) will not change coverage.
The diff coverage is n/a.

❗ Current head db632bb differs from pull request most recent head ffbb22b. Consider uploading reports for the commit ffbb22b to get more accurate results

@@              Coverage Diff              @@
##                main       #4695   +/-   ##
=============================================
  Coverage   97.97158%   97.97158%           
=============================================
  Files            547         547           
  Lines         265675      265675           
  Branches        5105        5105           
=============================================
  Hits          260286      260286           
  Misses          4502        4502           
  Partials         887         887           
Flag Coverage Δ
Debug 97.97158% <ø> (ø)
test 97.97158% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@RussKie

RussKie commented Mar 22, 2021

Copy link
Copy Markdown
Contributor

MC

@RussKie RussKie added the waiting-author-feedback The team requires more information from the author label Mar 22, 2021
@SergeySmirnov-Akvelon
SergeySmirnov-Akvelon force-pushed the Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry branch from 58a7e23 to 15c007b Compare March 22, 2021 10:44
@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Mar 22, 2021

@RussKie RussKie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please clean up the history.

This is also a breaking change, please provide a snip for the breaking docs.

@ghost ghost added waiting-author-feedback The team requires more information from the author and removed waiting-author-feedback The team requires more information from the author labels Mar 24, 2021
@SergeySmirnov-Akvelon
SergeySmirnov-Akvelon force-pushed the Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry branch from 15c007b to aceb672 Compare March 24, 2021 08:44
@SergeySmirnov-Akvelon
SergeySmirnov-Akvelon force-pushed the Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry branch from aceb672 to ffbb22b Compare March 24, 2021 08:56
@SergeySmirnov-Akvelon

Copy link
Copy Markdown
Contributor Author

Fixed history and MC

@RussKie RussKie added 📖 documentation: breaking please open a breaking change issue https://github.com/dotnet/docs/issues/new?assignees=gewarren area: NRT labels Mar 24, 2021
@RussKie
RussKie merged commit 9b9ac0b into dotnet:main Mar 25, 2021
@RussKie
RussKie deleted the Issue-4571_DataGridViewTopLeftHeaderCell_FlatButtonAppearance_FontCacheEntry branch March 25, 2021 00:06
@ghost ghost added this to the 6.0 Preview4 milestone Mar 25, 2021
Comment on lines +191 to +194
if (Owner is null)
{
throw new InvalidOperationException(SR.DataGridViewCellAccessibleObject_OwnerNotSet);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realised - this check here is unnecessary and superficial, this is a private API invoked by Navigate() and FragmentNavigate() public API that perform the validation.

@RussKie

RussKie commented Mar 29, 2021

Copy link
Copy Markdown
Contributor

Docs: dotnet/docs#23529

@ghost ghost locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

📖 documentation: breaking please open a breaking change issue https://github.com/dotnet/docs/issues/new?assignees=gewarren

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants