Back to Devexpress

AccordionControl.ContextButtonClick Event

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-c81ed131.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event ContextItemClickEventHandler ContextButtonClick
vb
<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:

PropertyDescription
DataItemGets or sets an Object that contains a clicked ContextItem. This object is a control or a control’s item.
ItemGets a clicked ContextItem.
ItemInfoGets or sets a clicked ContextItem‘s ContextItemViewInfo.
ScreenBoundsReturns a Rectangle that contains a ContextItem.

See Also

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace