UWP app title bar not changing as per app theme

Avinash Kodavalla 36 Reputation points
2022-03-02T04:21:57.273+00:00

When I change theme of my app using settings built in app, title bar elements are not changing accordingly. But when I use Windows default and change the theme in Windows Settings, then title bar elements appear perfectly according to the theme.

What additions/change should I do to my code while changing theme so that it appears correctly. Please see the below video to understand my app's problem after changing theme.

Video link:
https://1drv.ms/v/s!AgHIW-ZOcPnhszRwyzjVp0Kvutz2

Thanks in advance!

Regards
Avinash

Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,988 questions
{count} votes