locked
Prevent change theme like light /dark WP Theme

    Question

  • Hello,

    i'm not sure about themes in Windows 8.

    In Windows Phone we need to prevent light and dark themes. i would like to know if i need to do the same in Windows 8.

    Because in cpanel we have, in Control Panel\All Control Panel Items\Personalization, a different themes.


    Sara Silva

    Monday, August 27, 2012 11:42 AM

Answers

  • Light or dark theme is chosen by the app. It isn't related to Windows' overall theme as controlled by the Personalization control panel.

    The exception is for the High Contrast themes. If the user chooses a High Contrast theme then your app should follow suit. The standard controls and styles will do this automatically, but if you have any custom coloring you may need to do so explicitly. What exactly you need to do will depend on if you are using HTML, Xaml, or custom DirectX. See Supporting high contrast themes (there's a switch for Xaml if needed).

    --Rob

    • Marked as answer by smsilva Monday, August 27, 2012 7:03 PM
    Monday, August 27, 2012 6:01 PM
    Moderator