DataGridView.OnRowHeightInfoPushed Method

Definition

Raises the RowHeightInfoPushed event.

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)

Parameters

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnRowHeightInfoPushed method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnRowHeightInfoPushed(DataGridViewRowHeightInfoPushedEventArgs) in a derived class, be sure to call the base class' OnRowHeightInfoPushed(DataGridViewRowHeightInfoPushedEventArgs) method so that registered delegates receive the event.

Applies to

See also