DataGridViewCell.OnContentClick(DataGridViewCellEventArgs) 메서드

정의

셀의 내용을 클릭하면 호출됩니다.

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)

매개 변수

e
DataGridViewCellEventArgs

이벤트 데이터를 포함하는 DataGridViewCellEventArgs입니다.

설명

이 메서드는 비슷합니다는 DataGridView.OnCellContentClick 메서드. 동일한 상황에서 호출 되는 DataGridView.CellContentClick 이벤트가 발생 하지만 실제로 이벤트가 발생 하지 않습니다.

적용 대상

추가 정보