WebBrowser in backstage

Aug 17, 2011 at 4:02 PM

Hello,

I want to add a WebBrowser Control to Backstage, but after some time, it will hides. 

How do I add a web browser to backstage???

Coordinator
Aug 17, 2011 at 4:21 PM

As far as I know guys has tried it and they have success. 
What's your particular trouble? 

Aug 17, 2011 at 4:24 PM

The WebBrowser shows. but after close and re-open backstage, it hides. (also I think sometimes it hides automatically, but I am not sure)

If I use Awesomium (Real WPF Web Browser) , isn't there any problems? (Awesomium is not hosted from windows forms)

Aug 18, 2011 at 6:37 AM

I trigger my code to display and hide the Web Browser control in Backstage on the MyBackStage_IsOpenChanged event.

private void MyBackStage_IsOpenChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
             if (MyBackStage.IsOpen)
                  PrintBrowser.Visibility = Visibility.Visible;
             else
                  PrintBrowser.Visibility = Visibility.Hidden;
             
        }