AccordionControl.ContextButtonClick Event

Occurs whenever an item from either the AccordionControl.GroupContextButtons or AccordionControl.ItemContextButtons collections is clicked.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Events")]
public event ContextItemClickEventHandler ContextButtonClick
<DXCategory("Events")>
Public Event ContextButtonClick As ContextItemClickEventHandler

Event Data

The ContextButtonClick event's data class is ContextItemClickEventArgs. The following properties provide information specific to this event:

Property Description
DataItem Gets or sets an Object that contains a clicked ContextItem. This object is a control or a control's item.
Item Gets a clicked ContextItem.
ItemInfo Gets or sets a clicked ContextItem's ContextItemViewInfo.
ScreenBounds Returns a Rectangle that contains a ContextItem.
See Also