Hi All,
I am using a XamDataCarousel with Skewing effects. Basically its the same as the 'MusicBrowser' in the xamShowcase. The ItemsPerPage property is set to an odd number(7) but I want to add items to the carousel at runtime by adding items to the collection to which it is bound. The problem I have is that when there is only one Item in the carousel, it does not move to the center. It stays at the left edge. And when theres two items they stay at the opposite edges nothing in the center. This is the case when the number of items in the collection is even and less than the ItemsPerPage.
How can I correct this and have at least one Item always in the center. i.e. The first item in the collection goes to the centre and subsequent items are placed on either side.
Thanks
Hello aa_afolabi,
It has been a while since you have made your post, in case you still need of support I will be glad to assist you. I suppose the other community members can benefit from this answer as well. So after reviewing your issue I can suggest you set the ItemPathPrefixPercent property of the CarouselViewSettings to control the startup position of the elements. Also using the ItemPath property you can modify the whole path of the elements in the carousel. For further reference you can check the following links:
http://help.infragistics.com/NetAdvantage/WPF/2010.3/CLR4.0/
If you have any further questions on this, please do not hesitate to ask.