Reputation: 933
I need to distinct the action in BeforeExpand
event of TreeView
. The problem is that the DoubleClick
event is fired after the BeforeExpand
event.
When a user double clicks the tree node the DoubleClick
event is fired - which is ok, but the node is expanded/collapsed. I'd like to limit that the user needs to click +
to expand the node and block the expand/collapse on double click - is this even possible? The TreeViewCancelEventArgs
isn't much of a help since there is no information on how the node is expanded...
Upvotes: 0
Views: 3833