Order of DataGridView events

B

bob

Hi all,

I'm having a hard time figuring out the ORDER that the events in the
DataGridView control fire in, and also determining exactly WHEN each
event fires. The documentation seems to have little or no help on this
-- unbelievable if true!

For example, the RowValidating event -- does it occur when the row
changes, or when the cell in a row changes? (My experiments with this
seem to indicate that it first when the cell changes, even if the
cursor remains in the same row as before.) No help could I find on
this. The "DataGridView Members" list shows the events, but lists them
in alphabetical order, not the order they fire in. The help on each
individual event tells generally when the event fires, but not exactly,
as indicated for the RowValidating event above.

I would like to see a complete listing of the exact order each event
fires. Is there any help/documentation out there on this, a book maybe,
or is there some official help documentation that I'm missing?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top