WPF WebBrowser-Control does not display content

in my WPF application, I use WebBrowser-Control to display web content. I am testing it with a google search. In the following, first some source code:

<Canvas x:Name="LayoutRoot" Background="White">
       <WebBrowser x:Name="browser"
                            Width="494"
                            Height="293"
                            Canvas.Left="3"
                            Canvas.Top="162"/>

</Canvas>

public EventSide()
{
    InitializeComponent();
    browser.Navigate(new Uri("http://www.google.de/"));
}

Now it depends on the following issues: The contents of the WebBrowser control are completely empty. I go with the mouse over the WebBrowser control, change at the top and the mouse cursor over the text cursor, and I get a hint called search. This is the search box on the google page. This means that the information is accessible from the Internet through my web browser control, but apparently it cannot be displayed.

AllowsTransparency - "True". reset "False", -. , AllowsTransparency.

- ?

+3
1

, WebBrowser ,

public EventSide()
{
    InitializeComponent();
    browser.Loaded += delegate
    {
        browser.Navigate(new Uri("http://www.google.de/"));
    }
}

, WebBrowser - (COM, ) , AllowTransparency...

. .

, , WPF 3D Chromium Browser,

,

+6

All Articles