开发者

Creating an infinite Silverlight ItemsControl

开发者 https://www.devze.com 2023-01-14 08:01 出处:网络
I\'m interested in creating an ItemsControl for Silverlight that \"loops\" the items.When the user scrolls to the end of the list the ItemsControl should then show the first item(s) in the list.If the

I'm interested in creating an ItemsControl for Silverlight that "loops" the items. When the user scrolls to the end of the list the ItemsControl should then show the first item(s) in the list. If the user scrolls above the first item in the list the ItemsControl should show the last item(s) in the list. It probably makes sense here for the ItemsControl to hold more items than it contains. What's a good way to go about creating this control? I'm planning to data bind the ItemsSource prope开发者_C百科rty so a custom collection could also work.


Turn to the good doctor for help: http://drwpf.com/blog/2009/08/05/itemscontrol-n-is-for-natural-user-interface/

0

精彩评论

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

关注公众号