- WPF. - , .
. .
, - Mainwindow. - , : , , MainWindow. - Airspace - .
FIX: standard fix - you can set the height of the web browser to zero when you run some other control over it, depending on your scenario. The following is an example implementation.
MainWindow.Xaml includes events.
Activated="Window_Activated"
Deactivated="Window_Deactivated"
In Xaml.cs, it processes the script by setting the height.
private void Window_Activated(object sender, EventArgs e)
{
wb.Height = double.NaN;
}
private void Window_Deactivated(object sender, EventArgs e)
{
wb.Height = 0;
}
Darey source
share