You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GroupBox does not render BackgroundImage correctly when FlatStyle is Standard, Popup, or System with VisualStylesMode.Net11 mode #14779
🪲 bugProduct bug (most likely)NewApi-Net11Tracks issues for public APIs targeted for .NET 11.rendering-or-artifacts-issuesControls paint themselves, sometimes "outside their borders." Primarily looks, not function.
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature
Issue description
In VisualStylesMode.Net11 mode design time and run time, GroupBox.BackgroundImage is not rendered correctly when the control uses FlatStyle.Standard/Popup/System values. BackgroundImage is painted over child control(Button) borders in System FlatStyle mode
The background image is only rendered correctly when FlatStyle.Flat is used.
Behavior from VisualStylesMode.Classic:
Steps to reproduce
Create a WinForms application targeting .NET 11
Set VisualStylesMode = VisualStylesMode.Net11
Add several GroupBoxs to form designer with BackGroundImage
Configure different FlatStyle values: Standard/Popup/System
changed the title [-][VisualStylesMode: Net11] GroupBox does not render BackgroundImage correctly when FlatStyle is Standard, Popup, or System with VisualStylesMode.Net11 mode[/-][+]GroupBox does not render BackgroundImage correctly when FlatStyle is Standard, Popup, or System with VisualStylesMode.Net11 mode[/+]on Jul 21, 2026
Verified the issue with latest .NET11 11.0.0-rc.2.26453.107 + private dlls built from main branch of dotnet/winforms repro, the issue has been fixed as below screenshot.
Verified the issue with .NET 11 Oct 2026 Update Validation test pass build .NET 11.0.0-RC.2.26427.104, the issue has been fixed that have the same test results as above.
🪲 bugProduct bug (most likely)NewApi-Net11Tracks issues for public APIs targeted for .NET 11.rendering-or-artifacts-issuesControls paint themselves, sometimes "outside their borders." Primarily looks, not function.
Activity
[-][VisualStylesMode: Net11] GroupBox does not render BackgroundImage correctly when FlatStyle is Standard, Popup, or System with VisualStylesMode.Net11 mode[/-][+]GroupBox does not render BackgroundImage correctly when FlatStyle is Standard, Popup, or System with VisualStylesMode.Net11 mode[/+]Render BackgroundImage in modern GroupBox Card and Popup styles (dotn…
Render BackgroundImage in modern GroupBox Card and Popup styles (dotn…
Render BackgroundImage in modern GroupBox Card and Popup styles (dotn…
Render BackgroundImage in modern GroupBox Card and Popup styles (dotn…
.NET 11: integrate application, rendering, and visual styles APIs (#1…
.NET 11: integrate application, rendering, and visual styles APIs (#1…
Zheng-Li01 commentedon Sep 4, 2026
Verified the issue with latest .NET11 11.0.0-rc.2.26453.107 + private dlls built from main branch of dotnet/winforms repro, the issue has been fixed as below screenshot.
Zheng-Li01 commentedon Sep 23, 2026
Verified the issue with .NET 11 Oct 2026 Update Validation test pass build .NET 11.0.0-RC.2.26427.104, the issue has been fixed that have the same test results as above.