Infragistics(R) NetAdvantage(R) for WPF
About CarouselView


Glossary Item Box

You can use the CarouselView class in conjunction with xamDataPresenter™ to present Records along a specified Path just like the xamDataCarousel™ control. The CarouselView class and the xamDataCarousel control both share a common CarouselViewSettings object that controls their behavior; therefore, any topic for xamDataCarousel ViewSettings will also apply to a xamDataPresenter control using a CarouselView object.

For example, you can make a small change to the code in the Making the xamDataCarousel's Path Continuous topic and apply it to xamDataPresenter.

In XAML:

<igDP:XamDataPresenter Name="xamDataPresenter1" BindToSampleData="True">
	<igDP:XamDataPresenter.View>
	<!--
	<igDP:XamDataCarousel.ViewSettings>
		<igWindows:CarouselViewSettings IsListContinuous="True" />
	</igDP:XamDataCarousel.ViewSettings>
	-->

	<!--Replace the preceding commented markup with the CarouselView markup-->
		<igDP:CarouselView>
			<igDP:CarouselView.ViewSettings>
				<igWindows:CarouselViewSettings IsListContinuous="True" />
			</igDP:CarouselView.ViewSettings>
		</igDP:CarouselView>

	</igDP:XamDataPresenter.View>
</igDP:XamDataPresenter>