Skip to main content


Showing posts from April, 2014

Adding Background Images In Windows Phone Application

Solution 1 :
You can set the Background property of this Grid control to an ImageBrush.
<Grid.Background> </Grid.Background> Solution 2 :
Set Grid.Background property in the LayoutRootStyle.

Instead of setting the Grid.Background property in each page you can also set it once in the 'LayoutRootStyle' style. The All my pages have this style set on the root Grid control. This style is defined in the 'StandardStyles.xaml' which can be found in the 'Common' folder. The 'Background' property of the style is set to the 'ApplicationPageBackgroundThemeBrush' static resource which makes it black. You have to replace it with the ImageBrush. <Style x:Key="LayoutRootStyle" TargetType="Panel"> </Setter>