DevExpress-Examples / wpf-accordion-bind-to-data-using-childrenpath

Create a WPF Accordion control and bind it to data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPF Accordion Control - Bind to Data Using the ChildrenPath Property

This example demonstrates how to create a WPF Accordion Control and bind it to data using the ChildrenPath property.

Implementation Details

  1. Bind the accordion control to a data source. To do this, use the AccordionControl.ItemsSource property.
  2. Specify the AccordionControl.ChildrenPath property to create item hierarchy.
  3. Set the AccordionControl.DisplayMemberPath property to a data field with strings to display them in item headers.

Files to Review

Documentation

Related Examples

About

Create a WPF Accordion control and bind it to data.

License:Other


Languages

Language:Visual Basic .NET 51.1%Language:C# 48.9%