/// <summary> /// Creates and returns the GUI in a form of a <see cref="FrameworkElement"/> /// </summary> /// <returns></returns> protected override FrameworkElement CreateBaseGUIElement() { // Create the content stack panel ContentStackPanel = new SeparatedStackPanelItemsControl() { Orientation = Orientation.Vertical, Margin = new Thickness(LargeUniformMargin), }; // Wrap it in a scroll viewer ContentScrollViewer = ControlsFactory.WrapInScrollViewer(ContentStackPanel); // Return the scroll viewer return(ContentScrollViewer); }