Integration in a WPF (Windows Presentation Foundation) project

To use the ScopeProjectPanel within WPF applications, you need a WindowsFormsHost as a basis, because the ScopeProjectPanel is a Windows Forms UserControl element.

Position a WindowsFormsHost control from the toolbar in the user interface of the WPF application you created.
Initialize the ScopeProjectPanel as described in the Windows Forms examples and add the created ScopeViewControl to the WindowsFormsHost. When using the ScopeProjectPanel within the WPF application, only the property “ScopeProjectPanel.SupportWPFRefresh” has to be set.

A sample implementation is shown below:

namespace WpfApplication
{
 /// 
 /// Interaction logic for MainWindow.xaml
 /// 
 public partial class MainWindow : Window
 {
    public MainWindow()
    {
     InitializeComponent();
     ScopeProjectPanel scopeProjectPanel = new ScopeProjectPanel();
     scopeProjectPanel.ScopeProject = new ScopeProject();
     scopeProjectPanel.SupportWPFRefresh = true;
     // Initialisierung des ScopeViewControl
     windowsFormsHost1.Child = scopeProjectPanel;
    }
 }
}