WinUI 3 C++ - Choose appo theme

Solution 1:

The simplest way to change the overall app theme to the windows default theme is:

if (Window.Current.Content is FrameworkElement rootElement)
{
    rootElement.RequestedTheme = ElementTheme.Default; //Also: Dark or Light
}