public FlyoutPaneWindow(DockableContent content) : this() { //create a new temporary pane _refPane = new FlyoutDockablePane(content); _winFormsHost = ReferencedPane.GetLogicalChildContained <WindowsFormsHost>(); if (_winFormsHost != null) { AllowsTransparency = false; } this.Loaded += new RoutedEventHandler(FlyoutPaneWindow_Loaded); }
public FlyoutPaneWindow(DockingManager manager, DockableContent content) : this() { //create a new temporary pane _refPane = new FlyoutDockablePane(content); _dockingManager = manager; _winFormsHost = ReferencedPane.GetLogicalChildContained <WindowsFormsHost>(); if (_winFormsHost != null) { AllowsTransparency = false; } Loaded += FlyoutPaneWindow_Loaded; }