Skip to content

Clarify SystemBackdropElement theme update behavior in sample UI#2186

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/system-backdrop-element-theme-inheritance
Open

Clarify SystemBackdropElement theme update behavior in sample UI#2186
Copilot wants to merge 3 commits into
mainfrom
copilot/system-backdrop-element-theme-inheritance

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

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 linked an issue May 29, 2026 that may be closed by this pull request
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
Copilot AI requested a review from niels9001 May 29, 2026 12:34
@Jay-o-Way
Copy link
Copy Markdown
Contributor

not by setting theme directly on the control.

Or a parent control 🤓

@niels9001 niels9001 marked this pull request as ready for review May 29, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SystemBackdropElement Theme Inheritence

3 participants