-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.BreadcrumbBar.ItemsSource |
winrt property |
Gets or sets an object source used to generate the content of the BreadcrumbBar
.
An object source used to generate the content of the BreadcrumbBar
.
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.