WindowsFormsHost inside RadWindow is not visible
Environment
Product Version | 2019.1.220 |
Product | RadWindow for WPF and Silverlight |
Description
WindowsFormsHost is not displayed when set as the content of a RadWindow control.
Solution
To display the content of the WindowsFormsHost you need to make the RadWindow control non-transparent. This can be achieved by setting the attached WindowInteropHelper.AllowTransparency property to False.
public App()
{
var window = new MainWindow();
RadWindowInteropHelper.SetAllowTransparency(window, false);
window.Show();
}