Fix CornerRadius Mismatch Between GridViewItem and Its ItemTemplate#2076
Merged
marcelwgn merged 3 commits intomicrosoft:mainfrom Dec 17, 2025
Merged
Fix CornerRadius Mismatch Between GridViewItem and Its ItemTemplate#2076marcelwgn merged 3 commits intomicrosoft:mainfrom
marcelwgn merged 3 commits intomicrosoft:mainfrom
Conversation
Zakariathr22
suggested changes
Nov 9, 2025
Contributor
Zakariathr22
left a comment
There was a problem hiding this comment.
Hello @ghost1372, this is actually a really good idea! We should consider applying it to items in:
- Recently visited
- Favorites
- SectionPage
- SearchResultsPage
Contributor
Author
|
Thank you @Zakariathr22 |
Contributor
|
Why not use the CornerRadius property directly? With Static resource for Overlay. |
Contributor
Author
Since it's been 2 weeks, if I remember correctly I tried to set CornerRadius in GridViewItem, but it didn't work and I used lightweight styling. |
niels9001
approved these changes
Nov 29, 2025
Collaborator
|
/azp run |
1 similar comment
Contributor
|
/azp run |
ayushjai19
approved these changes
Dec 8, 2025
Collaborator
|
/azp run |
1 similar comment
Contributor
|
/azp run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ItemTemplates.xaml uses an 8px corner radius, while the GridViewItem itself uses 4px. This difference is visible when hovering over the item.
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Before:

After:
