private void Autoscroll_AutoScroll(object sender, AutoScrollArgs e) { // Emulate a drag scene PanView(new MyVector(e.XDeltaInt, e.YDeltaInt, 0), true, true); }