wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-2d3d9da4.md
Gets or sets a field name in the bound data source whose values are displayed by accordion items. This is a dependency property.
Namespace : DevExpress.Xpf.Accordion
Assembly : DevExpress.Xpf.Accordion.v25.2.dll
NuGet Package : DevExpress.Wpf.Accordion
public string DisplayMemberPath { get; set; }
Public Property DisplayMemberPath As String
| Type | Description |
|---|---|
| String |
A String value that specifies the data source field whose values are displayed by accordion items.
|
Refer to the Data Binding topic for details on different approaches to binding the AccordionControl to data.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DisplayMemberPath 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-accordion-customize-appearance/CS/AppearanceCustomization/MainWindow.xaml#L31
SelectedItem="{Binding SelectedItem}"
ChildrenPath="Nodes" DisplayMemberPath="Header"
IsCollapseButtonVisible="True"
wpf-accordion-bind-to-data-using-childrenpath/CS/ChildrenPath/MainWindow.xaml#L22
SelectedItem="{Binding SelectedItem}"
ChildrenPath="SubItems" DisplayMemberPath="Caption"/>
</Border>
See Also