Back to Devexpress

BreadcrumbControl.DisplayMember Property

wpf-devexpress-dot-xpf-dot-controls-dot-breadcrumbcontrol-34eea929.md

latest2.1 KB
Original Source

BreadcrumbControl.DisplayMember Property

Gets or sets a field name in the bound data source whose contents are to be displayed by the BreadcrumbControl. 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 DisplayMember { get; set; }
vb
Public Property DisplayMember As String

Property Value

TypeDescription
String

A field name in a data source.

|

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

xml
<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