wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-7fc17371.md
Gets or sets an object that retrieves the accordion item‘s children from the data source based on custom logic. This is a dependency property.
Namespace : DevExpress.Xpf.Accordion
Assembly : DevExpress.Xpf.Accordion.v25.2.dll
NuGet Package : DevExpress.Wpf.Accordion
public IChildrenSelector ChildrenSelector { get; set; }
Public Property ChildrenSelector As IChildrenSelector
| Type | Description |
|---|---|
| IChildrenSelector |
An object that implements the IChildrenSelector interface.
|
Refer to the Children Selector topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ChildrenSelector 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.
<dxa:AccordionControl Name="accordion" SelectionUnit="SubItem" ItemsSource="{Binding MyData.Categories }"
SelectedItem="{Binding SelectedItem}" ChildrenSelector="{StaticResource mySelector}">
<dxa:AccordionControl.Resources>
See Also