DataGridViewCheckBoxCell.OnMouseDown(DataGridViewCellMouseEventArgs) 메서드

정의

포인터가 셀에 있는 동안 마우스 단추를 누를 때 호출됩니다.

protected:
 override void OnMouseDown(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected override void OnMouseDown(System.Windows.Forms.DataGridViewCellMouseEventArgs e);
override this.OnMouseDown : System.Windows.Forms.DataGridViewCellMouseEventArgs -> unit
Protected Overrides Sub OnMouseDown (e As DataGridViewCellMouseEventArgs)

매개 변수

e
DataGridViewCellMouseEventArgs

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

설명

이 메서드를 사용하면 셀의 UI(사용자 인터페이스)가 업데이트됩니다.

이 메서드는 메서드와 Control.OnMouseDown 비슷합니다. 이벤트가 발생하는 것과 동일한 상황에서 Control.MouseDown 호출되지만 실제로 이벤트를 발생시키지는 않습니다.

적용 대상

추가 정보