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
Public property Cancel bool True to cancel the pending display of the chart element menu, otherwise False to allow the menu to display.
Public property Element object Gets or sets the type value of the chart element selected.
Public property IsKeyBoard bool True if the element selection was activated by a key press.
Public property IsReadOnly bool True indicates that the chart element is read-only.
Public property Type enum Gets the type of chart element that was clicked.  See ChartVisualElementType for a list.
Public property X int Gets or sets the X location of the mouse cursor when the element was selected.
Public property Y int Gets or sets the Y location of the mouse cursor when the element was selected.
Inheritance Hierarchy

elsystem.Object

elsystem.EventArgs

charting.PreShowElementMenuEventArgs