.NET version
.NET 11 SDK build: 11.0.100-rc.1.26380.103
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature of #14792
Issue description
When VisualStylesMode is set to NET11, setting the ForeColor of editable controls causes the control border to be rendered using the same color.
This behavior is observed on:
TextBox
MaskedTextBox
RichTextBox
ComboBox
DomainUpDown
NumericUpDown
Under VisualStylesMode.Classic, ForeColor only affects the text, while the border remains the system default color.
Steps to reproduce
- Create a WinForms application with targeting .NET11.
- Set Form's VisualStylesMode to NET11.
- Add any of the following controls:
TextBox
MaskedTextBox
RichTextBox
ComboBox
DomainUpDown
NumericUpDown
- Set:
ForeColor = Color.Cyan;
- Run the application.
WinFormsApp1.zip
.NET version
.NET 11 SDK build: 11.0.100-rc.1.26380.103
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Not support, new feature of #14792
Issue description
When
VisualStylesModeis set to NET11, setting theForeColorof editable controls causes the control border to be rendered using the same color.This behavior is observed on:
Under
VisualStylesMode.Classic,ForeColoronly affects the text, while the border remains the system default color.Steps to reproduce
ForeColor = Color.Cyan;WinFormsApp1.zip