Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
XamDataCarousel need item to stop in the middle of circle
posted

I have a weird issue that happens with I bind xamDataCarousel not to the sample data. I have copied the exact example from the feature browser that scales the middle item on the circle path to double the size.

xamDataCarousel --> Layout and Behavior --> Scaling Effects

When i iterate through the list the middle item now scales to double but doesnt stop in the center? But it works fine with sample data

Please help its kinda ruining the whole display. Ive review everything the only difference between the feature browser and mine is the datasource from what I can find.

<igWindows:CarouselViewSettings.ScalingEffectStops>
<igWindows:ScalingEffectStopCollection>
<igWindows:ScalingEffectStop Value="0"/>
<igWindows:ScalingEffectStop Offset="0.45" Value="0.8"/>
<igWindows:ScalingEffectStop Offset="0.55" Value="2"/>
<igWindows:ScalingEffectStop Offset="0.65" Value="0.8"/>
<igWindows:ScalingEffectStop Offset="1" Value="0.2"/>
</igWindows:ScalingEffectStopCollection>
</igWindows:CarouselViewSettings.ScalingEffectStops>

  • 3520
    Suggested Answer
    Offline posted

    Hi ajax11,

    I believe the problem is the ItemPathSuffixPercent property set on CarouselViewSettings. In the sample it equals "0.15". When I changed it to "0" the double-sized item was indeed displayed in the middle as expected.

    Hope this helps.