AccordionControl.SubItemExpandButtonPosition Property

Gets or sets the position of the expand-collapse button within the accordion subitems. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

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

Declaration

public ExpandButtonPosition SubItemExpandButtonPosition { get; set; }
Public Property SubItemExpandButtonPosition As ExpandButtonPosition

Property Value

Type Description
ExpandButtonPosition

An ExpandButtonPosition enumeration value.

Remarks

Use the following properties to hide the expand-collapse button or change its position:

Property Description
AccordionItem.ExpandButtonPosition Specifies the expand-collapse button's position for the current accordion item.
AccordionControl.RootItemExpandButtonPosition Specifies the expand-collapse button's position for all root items.
SubItemExpandButtonPosition Specifies the expand-collapse button's position for all subitems.

The code sample below demonstrates how to show the expand-collapse button at root items' left side:

<dxa:AccordionControl RootItemExpandButtonPosition="Left"> ... </dxa:AccordionControl>

The image below shows the result:

AccordionExpandingButtonPosition

Refer to the Expanding and Collapsing topic to learn more.

See Also