dotnet / dotnet/dotnet-api-docs
`System.Windows.Forms.FlatStyle` doc falsely claims with `System` style the `TextAlign` is completely ignored
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Missing information
### Description
Documentation for the [FlatStyle Enum](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.flatstyle?view=netframework-4.8.1) has following remark.
> If the System style is used, the appearance of the control is determined by the user's operating system and the following property values will be ignored: [Control.BackgroundImage](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.backgroundimage?view=netframework-4.8.1), ImageAlign, Image, ImageIndex, ImageList, and TextAlign.
But at least on my machine (Windows 10, .NET 4.8) _only the **vertical** part_ of the alignment is ignored: `TopLeft`, `MiddleLeft`, and `BottomLeft` are all rendered as `TopLeft`; `TopCenter`, `MiddleCenter`, `BottomCenter` as `TopCenter`; `TopRight`, `MiddleRight`, `BottomRight` as `TopRight`.
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.flatstyle?view=netframework-4.8.1
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/FlatStyle.xml
### Document Version Independent Id
2a79cdec-bd83-fc03-e5fe-22a16e1c86dc
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.