DataGridViewCheckBoxCell.OnMouseDown(DataGridViewCellMouseEventArgs) Metoda

Definicja

Wywoływana, gdy przycisk myszy jest trzymany w dół, gdy wskaźnik znajduje się w komórce.

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)

Parametry

e
DataGridViewCellMouseEventArgs

Element DataGridViewCellMouseEventArgs zawierający dane zdarzenia.

Uwagi

Ta metoda powoduje zaktualizowanie interfejsu użytkownika komórki.

Ta metoda jest podobna Control.OnMouseDown do metody . Jest wywoływana w tych samych okolicznościach, w których Control.MouseDown jest zgłaszane zdarzenie, ale w rzeczywistości nie zgłasza zdarzenia.

Dotyczy

Zobacz też