CarouselBreadcrumbControl Class

A control used by the XamDataCarousel and XamDataPresenter to display a collection of CarouselBreadcrumb objects that represent the trail of parent DataRecords during hierarchy navigation.
Public Class CarouselBreadcrumbControl 
   Inherits System.Windows.Controls.Control
public class CarouselBreadcrumbControl : System.Windows.Controls.Control 

The CarouselBreadcrumbControl maintains a collection of CarouselBreadcrumbs that represent a trail of visited parent DataRecords in a XamDataCarousel control that is displaying hierarchical data. Unlike the XamDataGrid, the XamDataCarousel cannot display multiple levels of hierarchical data concurrently. When it is bound to hierarchical data the XamDataCarousel displays a single flat list of the current child DataRecords. This list changes as the user drills into the data.

To provide a visual representation of the parent context for the current list of child records and to allow the user to navigate back up the parent chain, the XamDataCarousel creates and displays an instance of a CarouselBreadcrumbControl in its adorner layer. The CarouselBreadcrumbControl shows the trail of parent DataRecords that led to the currently displayed list of child records.

The parent DataRecords are represented by a list of one or more CarouselBreadcrumbs. Clicking on a CarouselBreadcrumb navigates back up the parent chain and displays the list of DataRecords that contains the parent DataRecord associated with the CarouselBreadcrumb that was clicked.

Note: The functionality described above for XamDataCarousel also applies to the XamDataPresenter when it is using CarouselView (i.e., when its XamDataPresenter.View property is set to an instance of a CarouselView)

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 CarouselBreadcrumbControl 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

See Also