Skip to content

The custom ForeColor set on PrintPreviewControl is not rendered correctly #13861

Closed

Description

@Amy-Li03

.NET version

.NET 10.0.100-rc.2.25460.104

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

It works on .NET 8.0, and it starts repro from .NET 9.0

Issue description

After setting a custom ForeColor, PrintPreviewControl does not reflect the change as what is set.
.NET 10.0 project:

Image

.NET 8.0 project:

Image

Steps to reproduce

  1. Create a WinForms .NET application that includes a PrintPreviewControl
  2. Set a custom ForeColor on the PrintPreviewControl
  3. Build and run the application

Activity

  1. added
    untriaged
    on Sep 11, 2025
  2. added
    💥 regression-release
    on Sep 11, 2025
  3. self-assigned this
    on Sep 11, 2025
  4. added a commit that references this issue on Sep 12, 2025
    bfabaeb
  5. Olina-Zhang commented on Sep 12, 2025

    @Olina-Zhang
    Member

    Regressed from the PR: #12478.

  6. removed
    untriaged
    on Sep 12, 2025
  7. added a commit that references this issue on Sep 19, 2025
    6b3cb93
  8. locked and limited conversation to collaborators on Oct 19, 2025
  9. added this to the .NET 11 milestone on Dec 11, 2025
  10. unlocked this conversation on Dec 11, 2025
  11. Amy-Li03 commented on Dec 11, 2025

    @Amy-Li03
    ContributorAuthor

    Verified with .NET SDK 11.0.100-alpha.1.25609.108, issue have been fixed that custom ForeColor set on PrintPreviewControl is rendered correctly.
    Image

  12. locked and limited conversation to collaborators on Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

💥 regression-releaseneeds-area-label

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions