aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Insights/SciChart/InsightsZoomPanModifier.cs
blob: 00bb7beea445b65e50d32aaea3b5ea67d678054b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using SciChart.Charting.ChartModifiers;
using SciChart.Core.Utility.Mouse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace Tango.FSE.Insights.SciChart
{
    public class InsightsZoomPanModifier : ZoomPanModifier
    {
        public override void OnModifierMouseDown(ModifierMouseArgs e)
        {
            if (!(Keyboard.Modifiers == ModifierKeys.Control))
            {
                base.OnModifierMouseDown(e);
            }
        }
    }
}