I am working on a Windows Phone 8 application.
This is my code:
I bind the data in XAML:
<phone:WebBrowser IsScriptEnabled="True" ScriptNotify="BrowserControlScriptNotify" ListBoxWebView:WebBrowserUtility.Html="{Binding WebView}"/>
there WebViewis data binded to webbrowser control.
WebView
data binded to webbrowser control
I have this content:
<html><head>{0}</head><body bgcolor=BGCOLOR style=\"margin:0px;padding:0px;\" "
here bgcolor=BGCOLORI want bgcolor to be transparent.
bgcolor=BGCOLOR
I tried <body style="background: transparent; margin: 0; padding: 0;">but did not work.
<body style="background: transparent; margin: 0; padding: 0;">
According to the answer I gave here (and you saw), it is not possible to make the background of the web browser control transparent.
-, HTML, .
:, , , .XAML , ., ( HTML)., .
Source: https://habr.com/ru/post/1539930/More articles:Sql Bulk Copy Truncating Decimal Sign - c #How to make some columns fixed and scrollable in a table? - javascriptChrome chrome overflow error - htmlCustom Realm in Glassfish 4: Login Module Not Found - glassfishПосле поиска элементов ListView в Android всегда открывайте первый элемент ListView (Issue) - androidmake web browser background transparent - windows-phone-7Sonar-Runner does not index files - playframework405 POST method not allowed on hero with django - pythonEclipse e4 RCP: Basic Expressions - Something Else XML Hell? - javaWhy are the calculated dates different in Internet Explorer and Chrome? - javascriptAll Articles