开发者

Animate many Usercontrols as endless list

开发者 https://www.devze.com 2023-01-25 18:47 出处:网络
i get a variable number of user controls ordered as a list. My goal is to scroll these controls upwards. When the topmost control left the visi开发者_Python百科ble area i want to remove it from the to

i get a variable number of user controls ordered as a list. My goal is to scroll these controls upwards. When the topmost control left the visi开发者_Python百科ble area i want to remove it from the top and append to the end.

First i tried to animate every control via ThicknessAnimation, but i think this is inefficient as there could be 50+ controls.

As a visual help so see what i include a picture of what i try to achieve.

Any ideas how to get this done?

Thanks in advance.


Here is a LoopPanel Sample Application from Dr. WPF you may interested in.

0

精彩评论

暂无评论...
验证码 换一张
取 消