Back to Devexpress

AccordionControl.ChildrenPath Property

wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-75437c0a.md

latest2.7 KB
Original Source

AccordionControl.ChildrenPath Property

Gets or sets the path to the field in the bound data source that contains the accordion item‘s children items. This is a dependency property.

Namespace : DevExpress.Xpf.Accordion

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

NuGet Package : DevExpress.Wpf.Accordion

Declaration

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

Property Value

TypeDescription
String

A String value that is the path to children items.

|

Remarks

Refer to the Children Path topic to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ChildrenPath 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

xml
SelectedItem="{Binding SelectedItem}"
ChildrenPath="Nodes" DisplayMemberPath="Header"
IsCollapseButtonVisible="True"

wpf-accordion-bind-to-data-using-childrenpath/CS/ChildrenPath/MainWindow.xaml#L22

xml
SelectedItem="{Binding SelectedItem}"
                          ChildrenPath="SubItems" DisplayMemberPath="Caption"/>
</Border>

See Also

AccordionControl Class

AccordionControl Members

DevExpress.Xpf.Accordion Namespace