Skip to main content

AccordionControl.PopupMenuActions Property

Provides access to the collection of actions used to customize the accordion’s popup menu.

Namespace: DevExpress.Xpf.Accordion

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

NuGet Package: DevExpress.Wpf.Accordion


public ObservableCollection<IControllerAction> PopupMenuActions { get; }

Property Value

Type Description

A collection of context menu customization actions.


Use the PopupMenuActions property to provide custom menu items within the AccordionControl popup menu. The popup menu is displayed when the AccordionControl.ViewMode property is set to AccordionViewMode.NavigationPane and the AccordionControl.AllowPopupMenu is set to true.

The code sample below demonstrates how to add a new menu item to the accordion’s popup menu.

<dxa:AccordionControl x:Name="accordion" ViewMode="NavigationPane"
                <dxb:BarButtonItem Content="My Custom Button" ItemClick="BarButtonItem_ItemClick"/>
See Also