-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release
Milestone
Description
.NET version
10.0.100-preview.7.25351.106
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Work in .NET 6, regression from .NET 7 to the latest .NET 10
Issue description
When changing a LinkLabel control's font to bold programmatically at runtime using FontStyle.Bold, the change is not visually reflected in the UI. This occurs even though the Font object reports Bold = true in the debugger.
.NET 7 to .NET 10:
.NET 6:
Steps to reproduce
- Use a LinkLabel with the default Microsoft Segoe UI font
- At runtime, execute:
linkLabel1.Font = new Font(linkLabel1.Font, FontStyle.Bold);
- Observe font style for linkLabel
Expected Behavior:
Text in the LinkLabel should appear bold after setting FontStyle.Bold via code at runtime.
Actual Behavior:
The text continues to appear in regular style, despite the Font.Bold property being true.
Metadata
Metadata
Assignees
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release