Skip to content

Updated styles-and-resources/troubleshooting.md#710

Merged
maxkatz6 merged 3 commits intoAvaloniaUI:mainfrom
avaloniachina:troubleshooting
Aug 22, 2025
Merged

Updated styles-and-resources/troubleshooting.md#710
maxkatz6 merged 3 commits intoAvaloniaUI:mainfrom
avaloniachina:troubleshooting

Conversation

@zdpcdt
Copy link
Copy Markdown
Contributor

@zdpcdt zdpcdt commented Aug 22, 2025

This pull request updates troubleshooting documentation for Avalonia UI styles in English, Russian, and Simplified Chinese. The main changes clarify style application, update terminology, improve code samples, and enhance explanations of style priority and theme references.

Documentation improvements:

  • Updated all XML style examples to use the correct Setter syntax instead of Style Property for consistency and clarity in both English and Russian docs.
  • Replaced legacy HTML tables with markdown tables for the BindingPriority enum, corrected terminology (e.g., "Template" instead of "TemplatedParent"), and clarified comments in all languages. [1] [2]

Explanations and terminology:

  • Improved descriptions and terminology in the Simplified Chinese guide, making explanations more accurate and easier to understand (e.g., clarifying style precedence, selector matching, and priority rules). [1] [2]
  • Updated theme references from "Default" to "Simple" where appropriate, and clarified which themes the examples refer to in English, Russian, and Chinese docs. [1] [2] [3] [4]

Clarifications on style application:

  • Enhanced explanations about why certain style setters may be ignored due to template behavior, and how to correctly target elements like ContentPresenter for state-dependent styling. [1] [2] [3]

These changes improve clarity, consistency, and accuracy in the troubleshooting guides for Avalonia UI styles.

Copy link
Copy Markdown
Member

@maxkatz6 maxkatz6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@maxkatz6 maxkatz6 merged commit b52de64 into AvaloniaUI:main Aug 22, 2025
2 checks passed
@zdpcdt zdpcdt deleted the troubleshooting branch August 22, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants