This documentation is archived and is not being maintained.

DataGridViewElement Members

Provides the base class for elements of a DataGridView control.

The following tables list the members exposed by the DataGridViewElement type.

  Name Description
Public method DataGridViewElement Initializes a new instance of the DataGridViewElement class.

  Name Description
Public property DataGridView Gets the DataGridView control associated with this element.
Public property State Gets the user interface (UI) state of the element.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDataGridViewChanged Called when the element is associated with a different DataGridView.
Protected method RaiseCellClick Raises the DataGridView.CellClick event.
Protected method RaiseCellContentClick Raises the DataGridView.CellContentClick event.
Protected method RaiseCellContentDoubleClick Raises the DataGridView.CellContentDoubleClick event.
Protected method RaiseCellValueChanged Raises the DataGridView.CellValueChanged event.
Protected method RaiseDataError Raises the DataGridView.DataError event.
Protected method RaiseMouseWheel Raises the Control.MouseWheel event.