Skip to content

Conversation

@dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Sep 16, 2024

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 )

Microsoft Reviewers: Open in CodeFlow

@dipeshmsft dipeshmsft requested review from a team as code owners September 16, 2024 21:41
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Sep 16, 2024
@dipeshmsft
Copy link
Member Author

/backport to release/9.0

@github-actions
Copy link

Started backporting to release/9.0: https://github.com/dotnet/wpf/actions/runs/10897352485

@dipeshmsft dipeshmsft merged commit 0875565 into dotnet:main Sep 17, 2024
@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 Win 11 Theming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fluent2 ListBoxItem Style (Et al..) Missing Bindings in ControlTemplate

3 participants