private double ComputeVerticalOffset(ScrollEventArgs e) { return e.NewValue / VerticalScrollBar.Maximum; }