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; }