diff --git a/ENI2/DetailBaseControl.cs b/ENI2/DetailBaseControl.cs index 13681b01..f8142630 100644 --- a/ENI2/DetailBaseControl.cs +++ b/ENI2/DetailBaseControl.cs @@ -185,6 +185,13 @@ namespace ENI2 this.ResetControlCache?.Invoke(messageGroupName); } + protected virtual void ScrollViewer_PreviewMouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e) + { + ScrollViewer scv = (ScrollViewer)sender; + scv.ScrollToVerticalOffset(scv.VerticalOffset - e.Delta); + e.Handled = true; + } + #region event handling for control content changes (signal dirty etc) protected void RegisterTextboxChange(TextBox textBox, Message.NotificationClass notificationClass) diff --git a/ENI2/DetailRootControl.xaml b/ENI2/DetailRootControl.xaml index 17abedfa..d5e5dffe 100644 --- a/ENI2/DetailRootControl.xaml +++ b/ENI2/DetailRootControl.xaml @@ -28,7 +28,7 @@ -