Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Windows.Forms.FlatStyle doc falsely claims with System style the TextAlign is completely ignored #10800

Open
TymurGubayev opened this issue Jan 2, 2025 · 0 comments
Labels
area-WinForms Issues or PRs that relate to WinForms. untriaged New issue has not been triaged by the area owner

Comments

@TymurGubayev
Copy link

Type of issue

Missing information

Description

Documentation for the FlatStyle Enum 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, 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

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-WinForms Issues or PRs that relate to WinForms. label Jan 2, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-WinForms Issues or PRs that relate to WinForms. untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant