語言

BreadcrumbBar.ItemsSource 屬性

定義

取得或設定一個物件來源,用以產生 的內容 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

屬性值

Object

Platform::Object

IInspectable

一個用於產生 內容 BreadcrumbBar的物件來源。

備註

BreadcrumbBar 控制項沒有屬性Items,它只有屬性ItemsSource。 這表示您無法在 XAML 中填入階層連結,或將階層連結直接新增至 Items 程式代碼中的集合。 相反地,您會建立集合,並在程式代碼中或使用資料系結將 ItemsSource 屬性連接到它。

更多資訊、設計指導與程式碼範例,請參閱 Breadcrumb 條總覽。

適用於

另請參閱