ShellTreeListbox - Ensure cursor is above ShellItem

Shell for WPF Forum

Posted 5 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 5 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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.