79535913

Date: 2025-03-26 09:25:16
Score: 1.5
Natty:
Report link

is it possible to directly set the background color of the window in a .NET MAUI app for Windows?

No, this color from the window of the current Application. There are no properties or methods to change it.

You can validate it by changing the default app mode to dark like following screenshot. When you start your application, you can see the background will be change to dark when the page loads enter image description here

Reasons:
  • Blacklisted phrase (1): is it possible to
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is it
  • High reputation (-1):
Posted by: Leon Lu