ShellTreeListbox - Ensure cursor is above ShellItem

Shell for WPF Forum

Posted 11 months ago by Dirk Zellerfeld
Version: 19.1.0683
Avatar

I would like to perform a custom action on mouse double click on a ShellItem. The ShellTreeListBox uses the default ItemTemplate and default ItemAdapter. I listen on the MouseDoubleClick event of the ShellTreeListBox but how can I ensure that the double click was done while the cursor was above a ShellItem and not for example on the scrollbar or else where?

Comments (1)

Answer - Posted 11 months ago by Dirk Zellerfeld
Avatar

Listening to the item execute default action event instead did the trick as its getting executed on double click on a shell item as well but not on scrollbar.

The latest build of this product (v2020.1.0) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.