/// <summary> /// Initializes a new instance of the <see cref="InteractiveWindow"/> class. /// </summary> public InteractiveWindow() { // Set window look ShowInTaskbar = false; Title = WindowTitle; // Add content Grid grid = new Grid(); Content = grid; contentControl = new InteractiveWindowContent(); contentControl.TextEditor.CloseRequested += TextEditor_CloseRequested; grid.Children.Add(contentControl); }
public InteractiveResultVisualizer(InteractiveWindowContent interactiveWindowContent) { this.interactiveWindowContent = interactiveWindowContent; }
public InteractiveResultVisualizer(InteractiveWindowContent interactiveWindowContent) { this.interactiveWindowContent = interactiveWindowContent; dispatcher = interactiveWindowContent?.Dispatcher ?? System.Windows.Threading.Dispatcher.CurrentDispatcher; }