.NET version
.NET 11 RC2 build: 11.0.100-rc.2.26455.110
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Occurs after New APIs in .NET11
Issue description
Under VisualStylesMode = NET11, a disabled RichTextBox renders the configured BackColor in the padding area, while the client area continues to use the disabled system background color.
As a result, different background colors are displayed within the same control, creating a visually inconsistent disabled appearance.
No padding value set, only BackColor set:
Set padding to 20, and set BackColor:
Steps to reproduce
- Create a WinForms application targeting .NET 11.
- Add a
RichTextBox to the form
- Set
Enable to false, set Padding and BackColor
- Set
VisualStylesMode to NET11
- Run the application to observe
.NET version
.NET 11 RC2 build: 11.0.100-rc.2.26455.110
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Occurs after New APIs in .NET11
Issue description
Under
VisualStylesMode = NET11, a disabledRichTextBoxrenders the configured BackColor in the padding area, while the client area continues to use the disabled system background color.As a result, different background colors are displayed within the same control, creating a visually inconsistent disabled appearance.
No padding value set, only BackColor set:
Set padding to 20, and set BackColor:
Steps to reproduce
RichTextBoxto the formEnableto false, setPaddingandBackColorVisualStylesModetoNET11