CalendarControlBase.ContextButtonClick Event
Allows you to respond to a context button click.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v20.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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. |
Remarks
See CalendarControlBase.ContextButtons to learn more.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContextButtonClick event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.