Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to set back ground image for wp7 web browser?


HTML
<phone:WebBrowser BorderBrush="{x:Null}" Name="webBrowser1" Height="439" Width="384" Foreground="#FF221F1F" FontFamily="Arial" FontSize="21.333">
  <phone:WebBrowser.Background>
          <ImageBrush ImageSource="/splitsheet_app;component/Images/bck_edu.png" />
                    </phone:WebBrowser.Background>
                </phone:WebBrowser>



i was used my design like this but it loads data on white page back ground
Posted

1 solution

Try with...
webBrowser1.DocumentText = "<html><body style='background-color:Blue'></body></html>";

Also see...
http://stackoverflow.com/questions/5602132/is-it-possible-to-change-the-background-color-of-the-webbrowser-control-before-l[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900