Version

Setting Padding on xamCarouselPanel’s Path

You can place buffer zones before and after xamCarouselPanel’s™ path. The xamCarouselPanel uses this buffer zone, or padding, when it calculates the control’s layout along the path.

The following image demonstrates the Path prefix and suffix functionality.

path prefix and suffic functionality for xamcarouselpanel

Use the following code to specify the ItemPathPrefixPercent and ItemPathSuffixPercent properties off the CarouselViewSettings.

In XAML:

<igWindows:XamCarouselPanel.ViewSettings>
        <igWindows:CarouselViewSettings ItemPathPrefixPercent=".2"
          ItemPathSuffixPercent=".4" />
</igWindows:XamCarouselPanel.ViewSettings>

Applying this code to the Adding xamCarouselPanel to Your Page topic results in a larger amount of padding applied after last image and before first image.

setting padding on xamcarouselpanel