animation - IPhone like scrolling on Silverlight ListBox -
I need a list box with Silverlight functionality like iPhone, that is, animated scrolling, and scrolling Click and drag. Depending on the "speed" of the pull, the scrolling mouse will continue slightly after the incident. I searched and did not find any control vendors providing this. So the question is how should I make it? I need some hints to get started.
There are two parts to this question:
Part 1, how to do animated scrolling of the list.
Part 2, How to create a "dragable" scrolling, I think I should put a canvas at the top and track mouseAvate and emulate some physics.
Some time back I did a control that did something like this. I had placed a stackpanel inside the canvas. Just adjust the canvas of a strip panel. On a mouseover (when the mouse is pressed). To animate the scrolling after mouseup, you need to actually track the transferred location and implement the animation in the canvas.top property.
Comments
Post a Comment