Version

Setting Padding on xamCarouselListBox’s Path

You can place buffer zones before and after xamCarouselListBox’s™ path. The xamCarouselListBox 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 suffix functionality in xamcarousellistbox

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

In XAML:

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

Applying this code to the Adding xamCarouselListBox to Your Application topic results in a larger amount of padding after the EarthQuake Pills record similar to the image below.

setting padding on xamcarousellistbox's path