Back to Devexpress

BreadcrumbControl.ItemsSource Property

wpf-devexpress-dot-xpf-dot-controls-dot-breadcrumbcontrol-86801b83.md

latest2.2 KB
Original Source

BreadcrumbControl.ItemsSource Property

Gets or sets the BreadcrumbControl‘s data source. This is a dependency property.

Namespace : DevExpress.Xpf.Controls

Assembly : DevExpress.Xpf.Controls.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public IEnumerable ItemsSource { get; set; }
vb
Public Property ItemsSource As IEnumerable

Property Value

TypeDescription
IEnumerable

An object that represents the data source from which the BreadcrumbControl retrieves its items.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemsSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-breadcrumb-control/CS/PathEditorExample/MainWindow.xaml#L14

xml
<StackPanel>
    <dxco:BreadcrumbControl ItemsSource="{Binding Items}" VerticalAlignment="Top" SelectedItemPath="{Binding Value, Mode=TwoWay}"
                            DisplayMember="Name" ChildMember="Children" EmptyItemText="Selected root item"/>

See Also

BreadcrumbControl Class

BreadcrumbControl Members

DevExpress.Xpf.Controls Namespace