| Visual Basic (Declaration) | |
|---|---|
Public Class CarouselPanelItem Inherits ListBoxItem | |
| C# | |
|---|---|
public class CarouselPanelItem : 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.
