ShellTreeListbox - Ensure cursor is above ShellItem

Shell for WPF Forum

Posted 3 years ago by Dirk Zellerfeld
Version: 19.1.0683

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 3 years ago by Dirk Zellerfeld

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 (v22.1.3) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.