DataGridView.OnRowHeightInfoPushed 方法

定义

引发 RowHeightInfoPushed 事件。

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

参数

注解

引发事件会通过委托调用事件处理程序。 有关详细信息,请参阅 处理和引发事件

该方法 OnRowHeightInfoPushed 还允许派生类在不附加委托的情况下处理事件。 这是处理派生类中的事件的首选技术。

继承者说明

在派生类中重写 OnRowHeightInfoPushed(DataGridViewRowHeightInfoPushedEventArgs) 时,请务必调用基类 OnRowHeightInfoPushed(DataGridViewRowHeightInfoPushedEventArgs) 的方法,以便已注册的委托接收事件。

适用于

另请参阅