Skip to main content

AccordionControl.ExpandItemOnHeaderClick Property

Gets or sets whether clicking the accordion item expands that item. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v22.1.dll

NuGet Package: DevExpress.Wpf.Accordion


public bool ExpandItemOnHeaderClick { get; set; }

Property Value

Type Description

true, to expand items on header click; otherwise, false. The default is true.


To expand or collapse accordion item at runtime:


You can set the ExpandItemOnHeaderClick property to false to prohibit expanding when clicking an item.

Refer to the Expanding and Collapsing topic to learn more.

See Also