Do you implement right click event or two finger click event, three finger click event right now? I did not find docs about them.
If not, do you have a plan to implement it?
Thanks
1 Answer, 1 is accepted
0
Lance | Senior Manager Technical Support
Telerik team
answered on 25 Mar 2022, 12:45 PM
Hi Allen,
This is something that usually needs to be implemented by the framework. IN Xamarin/MAUI a "right-click" doesn't really exist, it is more commonly referred to as a "Long press" gesture.
even though the post if for Xamarin.Forms, the concept is the same for MAUI. IN fact, if you review the official Feature Request in Xamarin.Forms, Microsoft closed it stating that it will not make it into Xamarin.Forms, but should make it into MAUI https://github.com/xamarin/Xamarin.Forms/issues/3480
You might have to dig deeper to see if the XLabs stuff has been ported to MAUI yet. If it hasn't you will likely have to take their code and use it directly in your MAUI project.
In MAUI, defining platform-specific code has gotten easier. you can take what you've learned form Alex's tutorial and implement it in your own classes created after following the Microsoft guidance .NET MAUI invoking platform code - .NET MAUI | Microsoft Docs
Feature Request
It sounds like you're talking about Mac trackpad gesture, I would recommend you take this early opportunity to bring it up as a feature request/enhancement to the Microsoft team in the .NET MAUI repository.
Regards,
Lance | Manager Technical Support
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.