Tuesday, 1 July 2014

How to set App bar color for throughtout Windows Phone App

Hi All,

Here is code to set Application properties for changing things through out the application.

Write this below lines in App.xaml file.

 <Application.Resources>
                 <Style x:Key="AppBarStyle" TargetType="phone:PhoneApplicationPage">
            <Setter Property="shell:SystemTray.BackgroundColor" Value="#067AB4" />
        </Style>
         </Application.Resources>


Where #067AB4 is the color for app bar.


Happy Coding :)



No comments:

Post a Comment