LitDev.Engines.GraphEngine._MouseDownEventScrollY C# (CSharp) Method

_MouseDownEventScrollY() private method

private _MouseDownEventScrollY ( Object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender Object
e System.Windows.Input.MouseButtonEventArgs
return void
        private void _MouseDownEventScrollY(Object sender, MouseButtonEventArgs e)
        {
            try
            {
                if (!mouseScrollY)
                {
                    mouseScrollY = true;
                    Canvas _scrollY = (Canvas)sender;
                    posScrollY = e.GetPosition(_scrollY);
                }
            }
            catch (Exception ex)
            {
                Utilities.OnError(Utilities.GetCurrentMethod(), ex);
            }
        }