locked
Understanding 'Light', 'Dark', 'High Contrast', White, Black, #1 & #2 Themes

    Question

  • In both Blend and Visual Studio there is a Drop Down box which allows you to test various themes for your app.

    • Light
    • Dark
    • High Contrast (default)
    • High Contrast White
    • High Contrast Black
    • High Contrast #1
    • High Contrast #2

    Now I can understand how in the Metro PC Settings screen you can activate High Contrast mode, but how do the other theme options work?  

    • Are these features that are not yet implemented in the Windows 8 Consumer Preview?
    • Features intended for Windows Phone 8 apps using WinRT? 
    • Features in the OS that I have not yet found how to activate?

    There does not seem to be any documentation on this, and these Theme options only affect the design view as running the app defaults to the Default theme which is the same as Dark.

    Also will this work in the same way as Windows Phone eventually, where the OS provides a ResourceDictionary of colours and templates that match the options set in the OS?


    http://www.mdtadesign.co.uk/

    Friday, March 2, 2012 1:41 PM

Answers

  • No the user cannot override the theme...this is basically a developer feature to help the developer choose the initial set of brushes for their app. 

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by mdtadesign Monday, March 5, 2012 4:08 PM
    Monday, March 5, 2012 4:04 PM

All replies

  • I found that you can choose between Light and Dark by adding RequestedTheme="Light" or RequestedTheme="Dark" in the Application tag in App.xaml.

    Hope that helps,

    -Michael O. Schoneman

    Saturday, March 3, 2012 3:26 AM
  • I found that you can choose between Light and Dark by adding RequestedTheme="Light" or RequestedTheme="Dark" in the Application tag in App.xaml.

    Hope that helps,

    -Michael O. Schoneman

    I noticed this myself, but can the user override this?  Do they get to choose the theme?  

    How do the various High Contrast modes affect the app's theme, Which takes priority and how do you specify styles for the various High Contrast themes?


    http://www.mdtadesign.co.uk/

    Sunday, March 4, 2012 12:25 AM
  • No the user cannot override the theme...this is basically a developer feature to help the developer choose the initial set of brushes for their app. 

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by mdtadesign Monday, March 5, 2012 4:08 PM
    Monday, March 5, 2012 4:04 PM