Just a small tip for desktop UWP apps!
If you create an UWP app, you’ll notice that the app title bar will change color depending on the fact it has or has not the focus.
This can be useful, but if you already themed your app and took time to style the titlebar with some color, it just looks weird the color is no longer the same when not in focus.
You first check if we are running in desktop mode, if so we get a hold of the titlebar and when you have that, just set Inactive*** properties the same as the normal ones!