Bagikan melalui


DataGridViewCellStateChangedEventArgs Konstruktor

Definisi

Menginisialisasi instans baru kelas 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)

Parameter

dataGridViewCell
DataGridViewCell

Yang DataGridViewCell telah berubah status.

stateChanged
DataGridViewElementStates

Salah satu nilai yang DataGridViewElementStates menunjukkan status yang telah berubah pada sel.

Pengecualian

dataGridViewCelladalah null.

Keterangan

Metode ini menggunakan nilai parameter untuk menginisialisasi Cell properti dan StateChanged .

Berlaku untuk

Lihat juga