Rank: Newbie Groups: Member
Joined: 6/26/2019 Posts: 7
|
So my WPF application defines a webview in it's main.xaml file. This is also the entry point of my application. When the constructor of this class is called I want to load a html file into this webview. This webview is actually the full window. The loading time takes ~ 1sec but the webview is rendered in white as long as it's not fully loaded. I tried to use LoadHtmlAndWait() but this won't work (webview will never be rendered, not even in white)..
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is normal. It does take a little time to initialize the browser engine when it first loads. You won't be able to load anything until that step has completed. So there is no way to speed that step up. If that is a serious issue for you, you can design some kind of "distractions" such as a "please wait..." splash screen to temporarily distract the user's attention.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 3/13/2019 Posts: 6
|
Is it possible to change the default white background to another color?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Unfortunately no. :(
|