Skip to content

Setting the CheckAlign as TopCenter/BottomCenter/MiddleCenter is not working for RadioButton/CheckBox control with Appearance as ToggleSwitch #14810

Description

@Zheng-Li01

.NET version

.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-4 branch of https://github.com/KlausLoeffelmann/winforms repo

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

Setting the CheckAlign as TopCenter/BottomCenter/MiddleCenter is not working for RadioButton/CheckBox control with Appearance as ToggleSwitch

Image
NewIssue.mp4

Steps to reproduce

  1. Create a WinForms application targeting .NET 11
  2. Set VisualStylesMode = VisualStylesMode.Net11
  3. Add a RadioButton/CheckBox control on the Form1.cs[Design] page
  4. Setting the Appearance as ToggleSwitchfor the radioButton1/checkBox1
  5. Change the CheckAlign as TopCenter/BottomCenter/MiddleCenter
  6. Observer the results

Metadata

Metadata

Labels

NewApi-Net11Tracks issues for public APIs targeted for .NET 11.untriagedThe team needs to look at this issue in the next triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions