### .NET version .NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-2 branch of https://github.com/KlausLoeffelmann/winforms repo ### Did it work in .NET Framework? Yes ### Did it work in any of the earlier releases of .NET Core or .NET 5+? Not support, new feature ### Issue description When a Form's `VisualStyleMode` is set to `NET11`, the button text is rendered incorrectly when the button receives keyboard focus via the Tab key. The issue only occurs when the focus is moved to the button using Tab. If the button is focused by mouse click, the text is rendered correctly. <img width="646" height="402" alt="Image" src="https://github.com/user-attachments/assets/126b27f8-276e-4344-8e3a-61f92f711eab" /> https://github.com/user-attachments/assets/041463ea-5528-4ae0-b3b1-907ddee4dfd4 ### Steps to reproduce 1. Create a WinForms application targeting .NET 11. 2. Set the Form's `VisualStyleMode` to `NET11`. 3. Add a `CheckBox` and a `Button` to the Form with default size. 4. Run the application. 5. Press Tab to move keyboard focus to the `Button`.
.NET version
.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-2 branch of https://github.com/KlausLoeffelmann/winforms repo
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature
Issue description
When a Form's
VisualStyleModeis set toNET11, the button text is rendered incorrectly when the button receives keyboard focus via the Tab key.The issue only occurs when the focus is moved to the button using Tab. If the button is focused by mouse click, the text is rendered correctly.
ButtonClippedIssue.mp4
Steps to reproduce
VisualStyleModetoNET11.CheckBoxand aButtonto the Form with default size.Button.