pan or swipe recogniser for maui editor

Haviv Elbsz 1,926 Reputation points
2022-08-25T13:45:26.813+00:00

Hi

can someone give me a clue

how I can pan the editor content

thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,931 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,312 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
    2022-08-26T01:58:10.94+00:00

    Hello,

    You can add swipe gesture or pan gesture for Editor like following code.

       <Editor >  
                   <Editor.GestureRecognizers>               
                       <SwipeGestureRecognizer Swiped="SwipeGestureRecognizer_Swiped"/>  
                   </Editor.GestureRecognizers>  
               </Editor>  
    

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.