Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Sep 17, 2024

Backport of #9786 to release/9.0
/cc @dipeshmsft

Fixes #9564

Description

In many of the Fluent styles template bindings are not set correctly. In this PR, I have tried to fix most of the template binding issues by comparing the styles to both Aero2 and WinUI styles.

Customer Impact

Developers using the new Fluent styles won't have to create custom styles for setting properties like BorderBrush, Background, BorderThickness and alignment properties.

Regression

Technically no, but any developer who will try to port their application to use the new styles will face this issue and the properties won't work for them.

Testing

Local testing with sample apps and WPF Gallery application.

Risk

Minimal. Apps are not using this feature ( except those who are working with .NET 9 preview releases )

PS : Breakdown of the PR - Fluent.Light.xaml, Fluent.Dark.xaml and Fluet.HC.xaml are auto generated files and they reflect the changes made in other files. Hence the actual change size if around 1/4th of what appears in the PR

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.
  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.
Microsoft Reviewers: Open in CodeFlow

@github-actions github-actions bot requested review from a team as code owners September 17, 2024 05:56
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Sep 17, 2024
@pchaurasia14
Copy link
Contributor

Approved over email

@dipeshmsft dipeshmsft merged commit c3584c9 into release/9.0 Sep 17, 2024
@dipeshmsft dipeshmsft deleted the backport/pr-9786-to-release/9.0 branch September 17, 2024 16:49
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage Servicing-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants