Back to Devexpress

AccordionControl.GroupContextButtons Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-94fdf4c7.md

latest4.0 KB
Original Source

AccordionControl.GroupContextButtons Property

Stores context buttons, shared among all AccordionControl groups.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public AccordionContextItemCollection GroupContextButtons { get; }
vb
<DXCategory("Appearance")>
Public ReadOnly Property GroupContextButtons As AccordionContextItemCollection

Property Value

TypeDescription
AccordionContextItemCollection

A DevExpress.Utils.ContextItemCollection object that stores context buttons, displayed by any group element within this AccordionControl.

|

Remarks

AccordionControl can display context buttons for items and groups. These buttons are stored within the AccordionControl.ItemContextButtons and AccordionControl.GroupContextButtons collections respectively. The figure below illustrates different context button sets for accordion items and groups.

Context buttons can be of four main types:

At design-time, modifying context button collections invokes the Context Button Editor that simplifies creating buttons of the required type and modifying their properties (see the figure below).

If you need to hide specific context buttons from individual accordion elements or modify particular buttons in any other manner, handle the AccordionControl.ContextButtonCustomize event. See the event description for an example.

Accordion elements may also display any control within their header area if this control is assigned to the element’s HeaderControl property. This control does not replace context buttons, meaning both of them can be simultaneously displayed.

See Also

ItemContextButtons

HeaderControl

HeaderIndent

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace