in SmartTreeView is there a way to catch the event SelectedItemChanged before it fires and cancel it? I want to cancel it so the user stays on the current node based on some conditon from an object on a different form/toolwindow that subscribes to SelectedItemChanged.
Imported from legacy forums. Posted by t (had 2954 views)
It is not possible to cancel it. However, a possible workaround you can use is to to verify it the condition is met in the event handler , and if so, set the selected item back to what it was before the event was triggered.