Why is there no command for pan gesture reconizer? tap gesture recognizer has one.

Steve Brooke 40 Reputation points
2023-10-18T23:53:50.3733333+00:00

using gesture recognizer in a graphics view. Tap gesture allows commands, while pan and pinch do not. I need to respond to these in the view model. Is there some technical reason that these gestures do not allow commands?

            <GraphicsView.GestureRecognizers>
                <PanGestureRecognizer Command="{Binding Panned}" />
                <PinchGestureRecognizer Command="{Binding Pinched}" />
                <TapGestureRecognizer Command="{Binding Tapped}"/>
            </GraphicsView.GestureRecognizers>

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,908 questions
{count} votes