DataGridView.OnRowMinimumHeightChanged(DataGridViewRowEventArgs) Méthode
Définition
Déclenche l'événement RowMinimumHeightChanged.Raises the RowMinimumHeightChanged event.
protected:
virtual void OnRowMinimumHeightChanged(System::Windows::Forms::DataGridViewRowEventArgs ^ e);
protected virtual void OnRowMinimumHeightChanged (System.Windows.Forms.DataGridViewRowEventArgs e);
abstract member OnRowMinimumHeightChanged : System.Windows.Forms.DataGridViewRowEventArgs -> unit
override this.OnRowMinimumHeightChanged : System.Windows.Forms.DataGridViewRowEventArgs -> unit
Protected Overridable Sub OnRowMinimumHeightChanged (e As DataGridViewRowEventArgs)
Paramètres
DataGridViewRowEventArgs qui contient les données d'événement.A DataGridViewRowEventArgs that contains the event data.
Exceptions
La ligne indiquée par la propriété Row de e
n’appartient pas à ce contrôle DataGridView.The row indicated by the Row property of e
does not belong to this DataGridView control.
Remarques
Le déclenchement d'un événement appelle le gestionnaire des événements par l'intermédiaire d'un délégué.Raising an event invokes the event handler through a delegate. Pour plus d’informations, consultez gestion et déclenchement d’événements.For more information, see Handling and Raising Events.
La méthode OnRowMinimumHeightChanged permet également aux classes dérivées de gérer l'événement sans y attacher de délégué.The OnRowMinimumHeightChanged method also allows derived classes to handle the event without attaching a delegate. Il s'agit de la méthode recommandée pour gérer l'événement dans une classe dérivée.This is the preferred technique for handling the event in a derived class.
Notes pour les héritiers
Lors de la substitution de OnRowMinimumHeightChanged(DataGridViewRowEventArgs) dans une classe dérivée, veillez à appeler la méthode OnRowMinimumHeightChanged(DataGridViewRowEventArgs) de la classe de base de manière à ce que les délégués inscrits reçoivent l'événement.When overriding OnRowMinimumHeightChanged(DataGridViewRowEventArgs) in a derived class, be sure to call the base class's OnRowMinimumHeightChanged(DataGridViewRowEventArgs) method so that registered delegates receive the event.