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.1.dll

Declaration

public bool ExpandItemOnHeaderClick { get; set; }
Public Property ExpandItemOnHeaderClick As Boolean

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