Skip to content

Fixing button border brush and other resource usage #10578

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

Merged

Conversation

dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Mar 17, 2025

Fixes # #9886

Description

Button styles were using the common / Fluent brushes directly rather than Button's control brushes like ButtonBorderBrush, ButtonBorderBrushPointerOver, etc.

In this PR, I have fixed the Button styles to use the Button control brushes correctly.

Customer Impact

Developers will be able to modify the Button control brushes without affecting other controls.

Regression

No

Testing

Local testing

Risk

No

Microsoft Reviewers: Open in CodeFlow

@Copilot Copilot AI review requested due to automatic review settings March 17, 2025 09:34
@dipeshmsft dipeshmsft requested review from a team as code owners March 17, 2025 09:34
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Mar 17, 2025
@dipeshmsft dipeshmsft requested a review from siagupta0202 March 17, 2025 09:36
@dipeshmsft dipeshmsft changed the title Fluent/bugs/button resource usage Fixing button border brush and other resource usage Mar 17, 2025
@dipeshmsft dipeshmsft added this to the .NET 10 milestone Mar 17, 2025
@siagupta0202 siagupta0202 self-assigned this Mar 17, 2025
Copy link

codecov bot commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.44700%. Comparing base (1472dd5) to head (cf295d0).
Report is 13 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10578         +/-   ##
===================================================
- Coverage   11.55663%   11.44700%   -0.10964%     
===================================================
  Files           3214        3214                 
  Lines         648502      648502                 
  Branches       71510       71510                 
===================================================
- Hits           74945       74234        -711     
- Misses        572396      573100        +704     
- Partials        1161        1168          +7     
Flag Coverage Δ
Debug 11.44700% <ø> (-0.10964%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@siagupta0202
Copy link
Contributor

LGTM

@siagupta0202 siagupta0202 merged commit c64c1a0 into dotnet:main Mar 18, 2025
8 checks passed
@dipeshmsft dipeshmsft modified the milestones: .NET 10, 10.0.0 Apr 9, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2025
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
Status: ☑ Done
Development

Successfully merging this pull request may close these issues.

2 participants