DataGridViewElement クラス

定義

DataGridView コントロールの要素の基本クラスを提供します。

public ref class DataGridViewElement
public class DataGridViewElement
type DataGridViewElement = class
Public Class DataGridViewElement
継承
DataGridViewElement
派生

注釈

.NET Framework には、DataGridViewElement から派生する 2 つの特殊なクラス (個々の要素を表す DataGridViewCell) と、一連のグループ化されたサブ要素を表す DataGridViewBand が用意されています。

コンストラクター

名前 説明
DataGridViewElement()

DataGridViewElement クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
DataGridView

この要素に関連付けられている DataGridView コントロールを取得します。

State

要素のユーザー インターフェイス (UI) 状態を取得します。

メソッド

名前 説明
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
OnDataGridViewChanged()

要素が別の DataGridViewに関連付けられているときに呼び出されます。

RaiseCellClick(DataGridViewCellEventArgs)

CellClick イベントを発生させます。

RaiseCellContentClick(DataGridViewCellEventArgs)

CellContentClick イベントを発生させます。

RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

CellContentDoubleClick イベントを発生させます。

RaiseCellValueChanged(DataGridViewCellEventArgs)

CellValueChanged イベントを発生させます。

RaiseDataError(DataGridViewDataErrorEventArgs)

DataError イベントを発生させます。

RaiseMouseWheel(MouseEventArgs)

MouseWheel イベントを発生させます。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください