-->

How to animate a WinForms scroll

2019-09-18 14:18发布

问题:

I have a C# control that has an scroll.

When a user drag and drop, the scrolls are updated. I would like to animate the drag&drop movement like google maps does. The movement is smoothly animated.

What technique must I use if want to simulate a swipe in the control, and perform a smoothly animated?

回答1:

What I was looking for was the easing equations: http://www.gizma.com/easing