How to set TitleBarColor
in a Service
on Windows
#19536
Unanswered
AndreasReitberger
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to update the
TitleBarColor
, when theAppTheme
changes. For iOS and Android I got following working service.But it doesn't work for
Windows
due to the fact that the service is nut aAppWindow
, so it doesn't find the window.Is there a way to get the
AppWindow
?I found this, but
MauiWinUIWindow.Current
is also null when accessing it from the service....iOS:
Android:
Windows:
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions