Category: gestures

  • MAUI Gesture Detection Part-2

    I’ll explain the key gestures you can use in MAUI, and then I’ll go through an example covering: They are implemented in .NET MAUI by using GestureRecognizers. .NET MAUI GestureRecognizers Define the User Interface in XAML MainPage.xaml MainPage.xaml.cs(Handle Gesture Events in Code-Behind) Tap Gesture (OnLabelTapped): Pinch Gesture (OnPinchUpdated): Swipe Gesture (OnBoxViewSwiped): Pan Gesture (OnPanUpdated): Further…

  • MAUI Gesture Detection Part-1

    Gesture detection in .NET MAUI helps you build dynamic, interactive user interfaces which respond to the user’s gestures like swipes, taps, and pinches. Topics Covered I will create a page where: Setting Up the ViewModel I will have a ViewModel that will hold a list Items that the users can interact with. GestureViewModel.cs Creating the…