From cee7ecb30b04b9c93e60d216c43b0493d9320422 Mon Sep 17 00:00:00 2001 From: Cam Soper Date: Thu, 19 Dec 2024 22:32:28 +0000 Subject: [PATCH 1/4] StatusStrip breaking change --- docs/core/compatibility/9.0.md | 21 ++++++----- docs/core/compatibility/toc.yml | 2 + .../windows-forms/9.0/statusstrip-renderer.md | 37 +++++++++++++++++++ 3 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md diff --git a/docs/core/compatibility/9.0.md b/docs/core/compatibility/9.0.md index 9761602e51bbe..a5c352de424ca 100644 --- a/docs/core/compatibility/9.0.md +++ b/docs/core/compatibility/9.0.md @@ -117,16 +117,17 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff ## Windows Forms -| Title | Type of change | Introduced version | -|-----------------------------------------------------------------------------------------|---------------------|--------------------| -| [BindingSource.SortDescriptions doesn't return null](windows-forms/9.0/sortdescriptions-return-value.md) | Behavioral change | Preview 1 | -| [Changes to nullability annotations](windows-forms/9.0/nullability-changes.md) | Source incompatible | Preview 1 | -| [ComponentDesigner.Initialize throws ArgumentNullException](windows-forms/9.0/componentdesigner-initialize.md) | Behavioral change | Preview 1 | -| [DataGridViewRowAccessibleObject.Name starting row index](windows-forms/9.0/datagridviewrowaccessibleobject-name-row.md) | Behavioral change | Preview 1 | -| [IMsoComponent support is opt-in](windows-forms/9.0/imsocomponent-support.md) | Behavioral change | Preview 2 | -| [New security analyzers](windows-forms/9.0/security-analyzers.md) | Source incompatible | RC 1 | -| [No exception if DataGridView is null](windows-forms/9.0/datagridviewheadercell-nre.md) | Behavioral change | Preview 1 | -| [PictureBox raises HttpClient exceptions](windows-forms/9.0/httpclient-exceptions.md) | Behavioral change | Preview 6 | +| Title | Type of change | Introduced version | +|--------------------------------------------------------------------------------------------------------------------------|---------------------|--------------------| +| [BindingSource.SortDescriptions doesn't return null](windows-forms/9.0/sortdescriptions-return-value.md) | Behavioral change | Preview 1 | +| [Changes to nullability annotations](windows-forms/9.0/nullability-changes.md) | Source incompatible | Preview 1 | +| [ComponentDesigner.Initialize throws ArgumentNullException](windows-forms/9.0/componentdesigner-initialize.md) | Behavioral change | Preview 1 | +| [DataGridViewRowAccessibleObject.Name starting row index](windows-forms/9.0/datagridviewrowaccessibleobject-name-row.md) | Behavioral change | Preview 1 | +| [IMsoComponent support is opt-in](windows-forms/9.0/imsocomponent-support.md) | Behavioral change | Preview 2 | +| [New security analyzers](windows-forms/9.0/security-analyzers.md) | Source incompatible | RC 1 | +| [No exception if DataGridView is null](windows-forms/9.0/datagridviewheadercell-nre.md) | Behavioral change | Preview 1 | +| [PictureBox raises HttpClient exceptions](windows-forms/9.0/httpclient-exceptions.md) | Behavioral change | Preview 6 | +| [StatusStrip uses a different default renderer](windows-forms/9.0/statusstrip-renderer.md) | Behavioral change | GA | ## WPF diff --git a/docs/core/compatibility/toc.yml b/docs/core/compatibility/toc.yml index 69ec5b8149d1e..279c30197e0be 100644 --- a/docs/core/compatibility/toc.yml +++ b/docs/core/compatibility/toc.yml @@ -142,6 +142,8 @@ items: href: windows-forms/9.0/datagridviewheadercell-nre.md - name: PictureBox raises HttpClient exceptions href: windows-forms/9.0/httpclient-exceptions.md + - name: StatusStrip uses a different default renderer + href: windows-forms/9.0/statusstrip-renderer.md - name: WPF items: - name: "'GetXmlNamespaceMaps' type change" diff --git a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md new file mode 100644 index 0000000000000..5805cd9022d89 --- /dev/null +++ b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md @@ -0,0 +1,37 @@ +--- +title: "Breaking change: System.Windows.Forms.StatusStrip uses a different default renderer" +description: Learn about the breaking change in .NET 9 for Windows Forms where System.Windows.Forms.StatusStrip uses a different default value for the RenderMode property. +ms.date: 01/16/2024 +--- +# System.Windows.Forms.StatusStrip uses a different default renderer + + has been updated to use the default renderer. + +## Version introduced + +.NET 9 + +## Previous behavior + +Previously, the `StatusStrip`'s `RenderMode` property was set to by default. + +## New behavior + + uses the default renderer. Minor changes to the appearance of the `StatusStrip` may be observed. + +## Change category + +This change is a [*behavioral change*](../../categories.md#behavioral-change). + +## Reason for change + +The previous default behavior didn't meet accessibility standards. + +## Recommended action + +The new behavior is recommended for accessibility reasons. If you want to revert to the previous behavior, set the `RenderMode` property to . + +## Affected APIs + +- +- From 81285674a46e7da37afdab88d6f96e264d220b46 Mon Sep 17 00:00:00 2001 From: Cam Soper Date: Thu, 19 Dec 2024 22:33:57 +0000 Subject: [PATCH 2/4] dates --- docs/core/compatibility/9.0.md | 2 +- .../compatibility/windows-forms/9.0/statusstrip-renderer.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/compatibility/9.0.md b/docs/core/compatibility/9.0.md index a5c352de424ca..00b52cf876fa6 100644 --- a/docs/core/compatibility/9.0.md +++ b/docs/core/compatibility/9.0.md @@ -2,7 +2,7 @@ title: Breaking changes in .NET 9 titleSuffix: "" description: Navigate to the breaking changes in .NET 9. -ms.date: 08/05/2024 +ms.date: 12/19/2024 no-loc: [Blazor, Razor, Kestrel] --- # Breaking changes in .NET 9 diff --git a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md index 5805cd9022d89..fb2650c4722bf 100644 --- a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md +++ b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md @@ -1,7 +1,7 @@ --- title: "Breaking change: System.Windows.Forms.StatusStrip uses a different default renderer" description: Learn about the breaking change in .NET 9 for Windows Forms where System.Windows.Forms.StatusStrip uses a different default value for the RenderMode property. -ms.date: 01/16/2024 +ms.date: 12/19/2024 --- # System.Windows.Forms.StatusStrip uses a different default renderer From 254e88d7cd911f77244b0f671f96e0b0e3e91d79 Mon Sep 17 00:00:00 2001 From: Cam Soper Date: Thu, 19 Dec 2024 22:43:44 +0000 Subject: [PATCH 3/4] Apply suggestions --- docs/core/compatibility/toc.yml | 3 ++- .../compatibility/windows-forms/9.0/statusstrip-renderer.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/core/compatibility/toc.yml b/docs/core/compatibility/toc.yml index 279c30197e0be..904c4d7cf4799 100644 --- a/docs/core/compatibility/toc.yml +++ b/docs/core/compatibility/toc.yml @@ -142,7 +142,7 @@ items: href: windows-forms/9.0/datagridviewheadercell-nre.md - name: PictureBox raises HttpClient exceptions href: windows-forms/9.0/httpclient-exceptions.md - - name: StatusStrip uses a different default renderer + - name: StatusStrip uses different default renderer href: windows-forms/9.0/statusstrip-renderer.md - name: WPF items: @@ -2042,6 +2042,7 @@ items: href: windows-forms/9.0/datagridviewheadercell-nre.md - name: PictureBox raises HttpClient exceptions href: windows-forms/9.0/httpclient-exceptions.md + - name: StatusStrip uses different default renderer - name: .NET 8 items: - name: Anchor layout changes diff --git a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md index fb2650c4722bf..882e4e101058d 100644 --- a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md +++ b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md @@ -17,7 +17,7 @@ Previously, the `StatusStrip`'s `RenderMode` property was set to uses the default renderer. Minor changes to the appearance of the `StatusStrip` may be observed. + uses the default renderer. You might observe minor changes to the appearance of the `StatusStrip`. ## Change category From 79037e6294df10be24ae3ba8ac55bd37133dd7f9 Mon Sep 17 00:00:00 2001 From: Cam Soper Date: Thu, 19 Dec 2024 22:46:10 +0000 Subject: [PATCH 4/4] more suggestion --- .../compatibility/windows-forms/9.0/statusstrip-renderer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md index 882e4e101058d..44493a7002283 100644 --- a/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md +++ b/docs/core/compatibility/windows-forms/9.0/statusstrip-renderer.md @@ -25,7 +25,7 @@ This change is a [*behavioral change*](../../categories.md#behavioral-change). ## Reason for change -The previous default behavior didn't meet accessibility standards. +The previous default behavior didn't meet accessibility standards. The focus indicator over the `ToolStripSplitButton` was difficult to see due to the lack of contrast. ## Recommended action