Clarify SystemBackdropElement theme update behavior in sample UI#2186
Open
Copilot wants to merge 3 commits into
Open
Clarify SystemBackdropElement theme update behavior in sample UI#2186Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/microsoft/WinUI-Gallery/sessions/7ceec96c-bfd9-4170-884c-54de52cca8c4 Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix theme inheritance for SystemBackdropElement in WinUI 3 Gallery
Clarify SystemBackdropElement theme update behavior in sample UI
May 29, 2026
Contributor
Or a parent control 🤓 |
niels9001
approved these changes
May 29, 2026
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.
The SystemBackdropElement sample could imply that backdrop material reacts to control-level theme toggles. This update adds explicit guidance that material refresh follows app/OS theme transitions, which matches current platform behavior.
What changed
SystemBackdropElementsample inSystemBackdropElementPage.xaml.Why this helps
Snippet
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
0t3vsblobprodcus362.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)1k9vsblobprodcus379.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)4zjvsblobprodcus390.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)51yvsblobprodcus36.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)e7bvsblobprodcus348.vsblob.vsassets.io/usr/bin/dotnet dotnet restore WinUIGallery.slnx(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)gbsvsblobprodcus365.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)i1qvsblobprodcus353.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)kmuvsblobprodcus389.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)ljcvsblobprodcus317.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)mfjvsblobprodcus373.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)pc2vsblobprodcus360.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)pdfvsblobprodcus380.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)pe4vsblobprodcus351.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)s8mvsblobprodcus38.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)vb4vsblobprodcus33.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)x3yvsblobprodcus370.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)xupvsblobprodcus332.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)yluvsblobprodcus367.vsblob.vsassets.io/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true(dns block)/usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true --filter FullyQualifiedName~SystemBackdropElement(dns block)If you need me to access, download, or install something from one of these locations, you can either: