PreDeleteElementEventArgs Class

Used to access information about the element that is about to be deleted.  This provides the ability to review this pending deletion in your event handler and cancel 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 deletion of the chart element, otherwise False to allow the element to be deleted.
Public property Element object Gets or sets the type value of the chart element about to be deleted.
Public property IsReadOnly bool True indicates that the element is read-only.
Public property Type enum Gets the type of chart element that was clicked.  See ChartVisualElementType for a list.
Inheritance Hierarchy

elsystem.Object

elsystem.EventArgs

charting.PreDeleteElementEventArgs