DataGridViewCell.OnContentClick(DataGridViewCellEventArgs) Method

Definition

Se le llama al hacer clic en el contenido de la celda.Called when the cell's contents are clicked.

protected:
 virtual void OnContentClick(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected virtual void OnContentClick (System.Windows.Forms.DataGridViewCellEventArgs e);
abstract member OnContentClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
override this.OnContentClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
Protected Overridable Sub OnContentClick (e As DataGridViewCellEventArgs)

Parameters

e
DataGridViewCellEventArgs

Objeto DataGridViewCellEventArgs que contiene los datos del evento.A DataGridViewCellEventArgs that contains the event data.

Remarks

Este método es similar al método DataGridView.OnCellContentClick.This method is similar to the DataGridView.OnCellContentClick method. Se llama en las mismas circunstancias en las que se genera un evento de DataGridView.CellContentClick, pero realmente no genera el evento.It is called in the same circumstances in which a DataGridView.CellContentClick event is raised, but it does not actually raise the event.

Applies to

See also