PreShowElementMenuEventArgs Class
Used to access information about the chart element whose menu is about to be displayed. This provides the ability to cancel the display of the menu, if desired.
Namespace: charting
Properties
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).
Name | Type | Description | |
Cancel | bool | True to cancel the pending display of the chart element menu, otherwise False to allow the menu to display. | |
Element | object | Gets or sets the type value of the chart element selected. | |
IsKeyBoard | bool | True if the element selection was activated by a key press. | |
IsReadOnly | bool | True indicates that the chart element is read-only. | |
|
enum | Gets the type of chart element that was clicked. See ChartVisualElementType for a list. | |
X | int | Gets or sets the X location of the mouse cursor when the element was selected. | |
Y | int | Gets or sets the Y location of the mouse cursor when the element was selected. |