DataGridViewElement Class

Definition

Proporciona la clase base de los elementos de un control DataGridView.Provides the base class for elements of a DataGridView control.

public ref class DataGridViewElement
public class DataGridViewElement
type DataGridViewElement = class
Public Class DataGridViewElement
Inheritance
DataGridViewElement
Derived

Remarks

El .NET Framework proporciona dos clases especializadas que derivan de DataGridViewElement: DataGridViewCell, que representa elementos individuales, y DataGridViewBand, que representa una serie de subelementos agrupados.The .NET Framework supplies two specialized classes that derive from DataGridViewElement: DataGridViewCell, which represents individual elements, and DataGridViewBand, which represents a series of grouped subelements.

Constructors

DataGridViewElement()

Inicializa una nueva instancia de la clase DataGridViewElement.Initializes a new instance of the DataGridViewElement class.

Properties

DataGridView

Obtiene el control DataGridView asociado a este elemento.Gets the DataGridView control associated with this element.

State

Obtiene el estado de la interfaz de usuario del elemento.Gets the user interface (UI) state of the element.

Methods

Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Crea una copia superficial del Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OnDataGridViewChanged()

Se llama cuando el elemento está asociado con un control DataGridView distinto.Called when the element is associated with a different DataGridView.

RaiseCellClick(DataGridViewCellEventArgs)

Inicia el evento CellClick.Raises the CellClick event.

RaiseCellContentClick(DataGridViewCellEventArgs)

Inicia el evento CellContentClick.Raises the CellContentClick event.

RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

Inicia el evento CellContentDoubleClick.Raises the CellContentDoubleClick event.

RaiseCellValueChanged(DataGridViewCellEventArgs)

Inicia el evento CellValueChanged.Raises the CellValueChanged event.

RaiseDataError(DataGridViewDataErrorEventArgs)

Inicia el evento DataError.Raises the DataError event.

RaiseMouseWheel(MouseEventArgs)

Inicia el evento MouseWheel.Raises the MouseWheel event.

ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also