XAML default light background style

Traitée XAML default light background style

  • dimanche 6 mai 2012 18:03
     
     
    When I create a blank app on VS, it comes with a dark background default style.  Where can I find a light background default style?

    twitter.com/LuoChang twitter.com/PokerIncome

Toutes les réponses

  • dimanche 6 mai 2012 21:10
     
     Traitée A du code

    @PokerIncome - either just change the background color yourself in your page or in App.xaml add

    <Application …
        RequestedTheme="Light">
    …
    </Application

    And you will get the Light theme and can alter from there.

    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)

    • Proposé comme réponse Horizon_Net dimanche 6 mai 2012 22:10
    • Marqué comme réponse Poker Income lundi 7 mai 2012 05:46
    •  
  • mardi 8 mai 2012 04:41
     
     
    Thanks!  It seems default dark theme is much better developed than light them.  When I do RequestedTheme="Light", my Hub page become light which is what I want.  But when I start a new page, it's still dark background and dark text.  Also the back button color is based on dark theme.  The StandardStyles.xaml is based on dark theme.

    Is there going to be a better developed light theme StandardStyles.xaml?

    twitter.com/LuoChang twitter.com/PokerIncome

  • mardi 8 mai 2012 18:56
     
     
    @PokerIncome - yes, the file will use system styles that are defined.

    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)