DataGridViewCellStateChangedEventArgs Konstruktor
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Inicializuje novou instanci DataGridViewCellStateChangedEventArgs třídy.
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)
Parametry
- dataGridViewCell
- DataGridViewCell
Ten DataGridViewCell má změněný stav.
- stateChanged
- DataGridViewElementStates
Jedna z DataGridViewElementStates hodnot označujících stav, který se změnil v buňce.
Výjimky
dataGridViewCell
je null
.
Poznámky
Tato metoda používá hodnoty parametrů k inicializaci Cell a StateChanged vlastností.