I have a winforms TreeView control that allows you to browse an object hierarchy. Incidentally, there are some circular references between objects.
I have no problem letting the user navigate circular references, but I want to prevent a '*' keypress or ExpandAll() command from executing.
How do you go about doing this?