'Declaration Public Class CarouselPanelItem Inherits System.Windows.Controls.ListBoxItem
public class CarouselPanelItem : System.Windows.Controls.ListBoxItem
When used as a standalone panel, the XamCarouselPanel wraps each of its child items in a CarouselPanelItem element. The wrapper serves as a convenient place to store state (required by the XamCarouselPanel) for each of its child items. You will not normally need to interact with this element but you should be aware of its existence in case you have code that needs to traverse the XamCarouselPanel's parent tree.
Refer to the Carousel Architecture Overview topic in the Developer's Guide for an explanation of how Carousel presentation works.
Note: An instance of this class is automatically created by the XamCarouselPanel when needed. You do not ordinarily need to create an instance of this class directly.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2