Solution 1 :
You can set the Background property of this Grid control to an ImageBrush.
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.
You can set the Background property of this Grid control to an ImageBrush.
<Grid.Background>Solution 2 :</Grid.Background>
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>
Comments
Post a Comment