Hi,
Whenever I add items to the XamCarouselListBox, they are spaced to fit the width of the control and it adjusts the spacing accordingly as and when we add new items. Is there a way we can always group the items from the left with constant spacing irrespective of number of items added?
Regards,
Nik
HI,
I am reviewing your issue.
Hi Nik,
I believe you will want to create a template. There is an example in the Feature Browser samples under XamCarouselListBox, Style in the Custom CarouselListBoxItem style. And there is also a simple example of a datatemplate in the documentation.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamCarouselListBox_Working_with_the_ItemTemplate.html
and
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamCarouselListBox_Editing_the_CarouselListBoxItem_Template.html
You may also be interested in setting the ItemPathPadding which is explained here.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamCarouselListBox_Setting_Padding_on_xamCarouselListBoxs_Path.html
Or in the techniques in this section of our documentation.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamCarouselListBox_Designing_the_Look_and_Feel.html
Please let me know if this is helpful to you.