共用方式為


DataGridView.OnRowHeaderMouseClick(DataGridViewCellMouseEventArgs) 方法

定義

引發 RowHeaderMouseClick 事件。

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

參數

e
DataGridViewCellMouseEventArgs

DataGridViewCellMouseEventArgs,其中包含滑鼠以及被按一下之標頭儲存格的相關資訊。

適用於

另請參閱