Share via


BreadcrumbBar.ItemsSource Property

Definition

Gets or sets an object source used to generate the content of the BreadcrumbBar.

public:
 property Platform::Object ^ ItemsSource { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable ItemsSource();

void ItemsSource(IInspectable value);
public object ItemsSource { get; set; }
var object = breadcrumbBar.itemsSource;
breadcrumbBar.itemsSource = object;
Public Property ItemsSource As Object

Property Value

Object

Platform::Object

IInspectable

An object source used to generate the content of the BreadcrumbBar.

Remarks

The BreadcrumbBar control does not have an Items property, it only has an ItemsSource property. This means you can't populate the breadcrumbs in XAML or by adding them directly to an Items collection in code. Instead, you create a collection and connect the ItemsSource property to it in code or using data binding.

For more info, design guidance, and code examples, see Breadcrumb bar overview.

Applies to

See also