DataGridView.OnRowHeightChanged(DataGridViewRowEventArgs) Yöntem

Tanım

Olayı tetikler RowHeightChanged .

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

Parametreler

e
DataGridViewRowEventArgs

DataGridViewRowEventArgs Olay verilerini içeren bir.

Özel durumlar

özelliği e tarafından Row belirtilen satır bu DataGridView denetime ait değil.

Açıklamalar

Olay bildirmek, bir temsilci yoluyla olay işleyicisini çağırır. Daha fazla bilgi için bkz. Olayları İşleme ve Oluşturma.

yöntemi, OnRowHeightChanged türetilmiş sınıfların bir temsilci eklemeden olayı işlemesine de izin verir. Bu, türetilmiş bir sınıftaki olayı işlemek için tercih edilen tekniktir.

Devralanlara Notlar

Türetilmiş bir sınıfta geçersiz kılma OnRowHeightChanged(DataGridViewRowEventArgs) sırasında, kayıtlı temsilcilerin olayı alması için temel sınıfın OnRowHeightChanged(DataGridViewRowEventArgs) yöntemini çağırdığınızdan emin olun.

Şunlara uygulanır

Ayrıca bkz.