DataGridViewCell.OnClick(DataGridViewCellEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the cell is clicked.
protected:
virtual void OnClick(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected virtual void OnClick (System.Windows.Forms.DataGridViewCellEventArgs e);
abstract member OnClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
override this.OnClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
Protected Overridable Sub OnClick (e As DataGridViewCellEventArgs)
Parameters
A DataGridViewCellEventArgs that contains the event data.
Remarks
This method is similar to the DataGridView.OnCellClick method. It is called in the same circumstances in which a DataGridView.CellClick event is raised, but it does not actually raise the event.
Applies to
See also
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.