Search code examples
c#avaloniaui

TreeView DoubleClick


The tree view in avalonia doesn't have a double-click Event. Is it possible to implement this in another way?

I want to catch the double-click Event in a ViewModel to execute a method.

Regards, Kevin


Solution

  • Avalonia uses the UWP naming here (as it does by using PointerX events rather than MouseX events) and the event is called DoubleTapped.