Skip to content

DevExpress-Examples/wpf-create-breadcrumb-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a Breadcrumb Control for WPF

The Breadcrumb control allows you to reproduce the Windows File Explorer UX. This example demonstrates how to create a WPF Breadcrumb Control and bind it to the Item-Children data relation.

<dxco:BreadcrumbControl ItemsSource="{Binding Items}" VerticalAlignment="Top" SelectedItemPath="{Binding Value, Mode=TwoWay}" DisplayMember="Name" ChildMember="Children" EmptyItemText="Selected root item"/>
public class Item : BindableBase { public string Name { get { return GetProperty(() => Name); } set { SetProperty(() => Name, value); } } public int Value { get { return GetProperty(() => Value); } set { SetProperty(() => Value, value); } } public List<Child> Children { get { return GetProperty(() => Children); } set { SetProperty(() => Children, value); } } } public class Child { public string Name { get; internal set; } }

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

Contributors 5

Languages