Skip to content

Clarify SystemBackdropElement theme update behavior in sample UI - #2186

Merged
Niels Laute (niels9001) merged 6 commits into
mainfrom
copilot/system-backdrop-element-theme-inheritance
Aug 13, 2026
Merged

Niels Laute (niels9001) merged 6 commits into
mainfrom
copilot/system-backdrop-element-theme-inheritance

Conversation

Copilot AI commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

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

    • Added a one-line explanatory note directly below the SystemBackdropElement sample in SystemBackdropElementPage.xaml.
  • Why this helps

    • Sets correct expectations for users experimenting with theme changes in the sample.
    • Reduces ambiguity called out in the issue discussion around theme inheritance behavior.
  • Snippet

    <TextBlock
        Margin="0,12,0,0"
        Text="Theme updates for SystemBackdropElement are triggered by app or OS theme changes, not by setting theme directly on the control."
        TextWrapping="WrapWholeWords" />

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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet restore WinUIGallery.slnx (dns block)
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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
    • Triggering command: /usr/bin/dotnet dotnet test /home/REDACTED/work/WinUI-Gallery/WinUI-Gallery/tests/WinUIGallery.UnitTests/WinUIGallery.UnitTests.csproj -p:EnableWindowsTargeting=true (dns block)
    • Triggering command: /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:

Copilot AI changed the title [WIP] Fix theme inheritance for SystemBackdropElement in WinUI 3 Gallery May 29, 2026
@Jay-o-Way

Copy link
Copy Markdown
Contributor

not by setting theme directly on the control.

Or a parent control 🤓

@niels9001
Niels Laute (niels9001) marked this pull request as ready for review May 29, 2026 22:21
@niels9001
Niels Laute (niels9001) enabled auto-merge (squash) July 6, 2026 18:31
@marcelwgn

Copy link
Copy Markdown
Contributor

/azp run

@niels9001
Niels Laute (niels9001) merged commit e7be0cc into main Aug 13, 2026
3 checks passed
@niels9001
Niels Laute (niels9001) deleted the copilot/system-backdrop-element-theme-inheritance branch August 13, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants