Apricot.Balloon.OnManipulationDelta C# (CSharp) Method

OnManipulationDelta() private method

private OnManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void
sender object
e System.Windows.Input.ManipulationDeltaEventArgs
return void
        private void OnManipulationDelta(object sender, ManipulationDeltaEventArgs e)
        {
            if (this.messageCollection.Count > 0 && this.historyPoint.HasValue && this.historyPoint.Value < this.messageCollection.Count)
            {
                this.scrollQueue.Enqueue(-e.DeltaManipulation.Translation.Y / this.lineHeight);
            }

            e.Handled = true;
        }