TreeView OnBefore/After select

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,
quick question: If I've overridden both the "OnBeforeSelect(...)" and
"OnAfterSelect(...)" methods of a Treeview control, and have:

e.Cancel = true;

in my OnBeforeSelect(...) method (in order to cancel the event), will the
framework still call OnAfterSelect(..)?
 
Probably not. Just put a breakpoint in there and see for yourself.

/claes
 

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

Back
Top