ShellTreeListbox - Ensure cursor is above ShellItem

Shell for WPF Forum

The latest build of this product (v2019.1 build 0683) was released 2 months ago, which was before this thread was created.
Posted 19 days 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 18 days 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.

Add Comment

Please log in to a validated account to post comments.