Back to Devexpress

BreadcrumbControl.SelectedItemPath Property

wpf-devexpress-dot-xpf-dot-controls-dot-breadcrumbcontrol-e14dd438.md

latest2.3 KB
Original Source

BreadcrumbControl.SelectedItemPath Property

Gets or sets a selected path. This is a dependency property.

Namespace : DevExpress.Xpf.Controls

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public string SelectedItemPath { get; set; }
vb
Public Property SelectedItemPath As String

Property Value

TypeDescription
String

A selected path.

|

Remarks

The Breadcrumb control builds the selected item path using the display texts of all the selected nodes and concatenated with the SelectedItemPathSeparator.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedItemPath 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