Hi everyone
I need to alter the height of a xamDataCarousel item. It seems to default to the height of 3 rows but if I add another and set AutoArrangeMaxRows="0" I get a vertical scrollbar. It doesnt look very nice.
Can I change the height of my items?
Hello,
You can try setting the CellHeight, CellWidth properties of the FieldSettings or the ItemSize property of the ViewSettings.
Thanks for your support will check it out later tonight. I did try the item size, the width changed but not the height, maybe because of my margin settings.
Will let you know how it goes. Thanks so far
Hi Alex
I can get the field setting tags up but cant get those properties. Im doing it wrong. XAML attached
>
="False" />
="PATNT_PASID">
="URN" />
="UserImage">
}" />
="Collapsed" />
Here is a simplified xaml code how to set the size of the cells :
<igDP:XamDataCarousel BindToSampleData="True">
<igDP:XamDataCarousel.FieldSettings>
<igDP:FieldSettings CellMaxWidth="100" CellMaxHeight="100" CellMinWidth="100" CellMinHeight="100" CellWidth="100" CellHeight="100" />
</igDP:XamDataCarousel.FieldSettings>
<igDP:XamDataCarousel.FieldLayoutSettings>
<igDP:FieldLayoutSettings />
</igDP:XamDataCarousel.FieldLayoutSettings>
<igDP:XamDataCarousel.ViewSettings>
<igWindows:CarouselViewSettings />
</igDP:XamDataCarousel.ViewSettings>
</igDP:XamDataCarousel>
You can also test this with the AutoScaleItemContentsToFit property of the ViewSettings. If you still have an issue with this, is it possible to attach a small sample reproducing it?