DataGridViewCellStateChangedEventArgs コンストラクター

定義

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

public:
 DataGridViewCellStateChangedEventArgs(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell, System::Windows::Forms::DataGridViewElementStates stateChanged);
public DataGridViewCellStateChangedEventArgs (System.Windows.Forms.DataGridViewCell dataGridViewCell, System.Windows.Forms.DataGridViewElementStates stateChanged);
new System.Windows.Forms.DataGridViewCellStateChangedEventArgs : System.Windows.Forms.DataGridViewCell * System.Windows.Forms.DataGridViewElementStates -> System.Windows.Forms.DataGridViewCellStateChangedEventArgs
Public Sub New (dataGridViewCell As DataGridViewCell, stateChanged As DataGridViewElementStates)

パラメーター

dataGridViewCell
DataGridViewCell

状態が変更された DataGridViewCell

stateChanged
DataGridViewElementStates

セルの変更された状態を示す DataGridViewElementStates 値の 1 つ。

例外

dataGridViewCellnullです。

注釈

このメソッドは、パラメーター値を使用して、およびStateChangedプロパティをCell初期化します。

適用対象

こちらもご覧ください