Back to Devexpress

CalendarControlBase.ContextButtonClick Event

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-d0e4bb0f.md

latest2.8 KB
Original Source

CalendarControlBase.ContextButtonClick Event

Allows you to respond to a context button click.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.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.

Remarks

See CalendarControlBase.ContextButtons to learn more.

See Also

ContextButtons

CalendarControlBase.ContextButtonValueChanged

ContextButtonClick

ContextButtonCustomize

CustomContextButtonToolTip

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace