Skip to content

Commit e8f0467

Browse files
authored
Merge pull request #5293 from MuyuanMS/patch-1
Update system-backdrop-controller.md - Add a note that materials with customized properties do not react to theme changes
2 parents a958996 + 0eac54f commit e8f0467

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hub/apps/windows-app-sdk/system-backdrop-controller.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ The controller reacts to the system Light and Dark themes by default. To overrid
215215
- [TintColor](/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.systembackdrops.micacontroller.tintcolor)
216216
- [TintOpacity](/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.systembackdrops.micacontroller.tintopacity)
217217

218+
> [!NOTE]
219+
>
220+
> After customizing any of the controller’s four properties, it no longer applies default Light or Dark values when the associated [SystemBackdropConfiguration.Theme](/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.systembackdrops.systembackdropconfiguration.theme) changes. You need to manually update those properties to match the new theme.
221+
218222
In order to use the backdrop material in your app, the following items are required:
219223

220224
- **System support**

0 commit comments

Comments
 (0)