How to animate a WinForms scroll

2019-09-18 14:13发布

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条回答
Anthone
2楼-- · 2019-09-18 15:09

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

查看更多
登录 后发表回答