I have a Treeview with nodes. If the user doubleclicks a node, an editdialog for the node opens where he can modify the data etc. There is a problem, if the user clicks fastly twice onto the collapsebutton of a node - this also counts a double click. Is there a way to avoid this? I searched the Web but i found nothing really helpfull. Detecting if the click is within a specific area is useless, cause the Treeview is dynamic and scrollable.
Many thanks in advance.
You can just call
HitTest
and find out where the user clicked.