Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Accordion, DevExpress.Wpf.Navigation

Declaration

public bool ExpandItemOnHeaderClick { get; set; }

Property Value

Type Description
Boolean

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

Remarks

To expand or collapse accordion item at runtime:

AccordionExpandingRuntime

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