MouseWheel event not firing when attached to TreeListView

Grids for WPF Forum

Posted 11 months ago by Mark Tannehill
Version: 24.1.4
Platform: .NET 6
Environment: Windows 11 (64-bit)
Avatar

As title describes, when hooking up a MouseWheel event to TreeListView, the event never fires so I cannot do actions on MouseWheel as intended. Is there another way to access this event? Other events like MouseDoubleClick appear to be working as intended.

Comments (2)

Posted 11 months ago by Mark Tannehill
Avatar

Immediately when I used PreviewMouseWheel, it worked.. So I successfully jinxed myself here with this one.

Posted 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mark,

I don't think our control handles the mouse wheel directly, but the ScrollViewer in the TreeListView's template definitely processes and handles that event.  I'm glad you found a workaround with the preview version of the event.


Actipro Software Support

The latest build of this product (v25.1.2) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.