Highlighting the details of middle UserControl Item of a wp7 ListBox as shown in Image

守給你的承諾、 提交于 2019-12-13 08:47:29

问题


I am having a Horizontal listbox having usercontrol(150 width and 150 height as dimensions) as items.

I am displaying 3 items in listbox at a time. My question is how can I detect the middle item while scrolling so that as i scroll left or right i can display the name and other details of middle listbox item in texblock placed above it.

Please refer the image uploaded.

Thanks in Advance.


回答1:


Try this http://silverlightcarousel.codeplex.com/

http://wpfcarousel.codeplex.com/




回答2:


It seems you're looking for a CoverFlow control. I know ComponentOne have one and there are probably others.

If this is for a commercial app it'll definitely be easier to buy one than build your own.

If you're all set on building your own then you'll probably want to build from scratch as the ListBox doesn't allow for the customization you'll require.



来源:https://stackoverflow.com/questions/11134718/highlighting-the-details-of-middle-usercontrol-item-of-a-wp7-listbox-as-shown-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!