wpf-devexpress-dot-xpf-dot-controls-dot-breadcrumbcontrol-94379382.md
Gets or sets the text displayed within the empty item. This is a dependency property.
Namespace : DevExpress.Xpf.Controls
Assembly : DevExpress.Xpf.Controls.v25.2.dll
NuGet Package : DevExpress.Wpf.Controls
public string EmptyItemText { get; set; }
Public Property EmptyItemText As String
| Type | Description |
|---|---|
| String |
The empty item text.
|
When the Breadcrumb control has no selected items (nodes), it displays the empty item.
Use the EmptyItemText property to change the text displayed within the empty item.
<Window ...
xmlns:dxco="http://schemas.devexpress.com/winfx/2008/xaml/controls">
<Grid>
<dxco:BreadcrumbControl
EmptyItemText="Start Here"
ItemsSource="{Binding Documents}"
KeyMember="Id"
ParentMember="ParentId"
DisplayMember="Title" />
</Grid>
</Window>
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EmptyItemText 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#L15
<dxco:BreadcrumbControl ItemsSource="{Binding Items}" VerticalAlignment="Top" SelectedItemPath="{Binding Value, Mode=TwoWay}"
DisplayMember="Name" ChildMember="Children" EmptyItemText="Selected root item"/>
See Also