DataGridViewRowEventArgs クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


DataGridViewRowEventArgs クラスでは、次の DataGridView イベント向けのデータが提供されます。
-
DefaultValuesNeeded
-
NewRowNeeded
-
RowDefaultCellStyleChanged
-
RowErrorTextChanged
-
RowHeaderCellChanged
-
RowHeightChanged
-
RowMinimumHeightChanged
-
RowUnshared
-
UserAddedRow
-
UserDeletedRow
-
RowContextMenuStripChanged
-
RowDividerHeightChanged

Private Sub dataGridView1_DefaultValuesNeeded(ByVal sender As Object, _ ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) _ Handles dataGridView1.DefaultValuesNeeded With e.Row .Cells("Region").Value = "WA" .Cells("City").Value = "Redmond" .Cells("PostalCode").Value = "98052-6399" .Cells("Region").Value = "NA" .Cells("Country").Value = "USA" .Cells("CustomerID").Value = NewCustomerId() End With End Sub
private void dataGridView1_DefaultValuesNeeded(object sender, System.Windows.Forms.DataGridViewRowEventArgs e) { e.Row.Cells["Region"].Value = "WA"; e.Row.Cells["City"].Value = "Redmond"; e.Row.Cells["PostalCode"].Value = "98052-6399"; e.Row.Cells["Region"].Value = "NA"; e.Row.Cells["Country"].Value = "USA"; e.Row.Cells["CustomerID"].Value = NewCustomerId(); }

System.EventArgs
System.Windows.Forms.DataGridViewRowEventArgs


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridViewRowEventArgs コンストラクタ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim dataGridViewRow As DataGridViewRow Dim instance As New DataGridViewRowEventArgs(dataGridViewRow)



Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridViewRowEventArgs プロパティ


関連項目
DataGridViewRowEventArgs クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewRow クラス
DataGridViewRowEventHandler
DataGridViewRowEventArgs メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

関連項目
DataGridViewRowEventArgs クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewRow クラス
DataGridViewRowEventHandler
DataGridViewRowEventArgs メンバ
DataGridView の行関連イベントのデータを提供します。
DataGridViewRowEventArgs データ型で公開されるメンバを以下の表に示します。



名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

関連項目
DataGridViewRowEventArgs クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewRow クラス
DataGridViewRowEventHandler
- DataGridViewRowEventArgsのページへのリンク