Compartilhar via


PanUpdatedEventArgs Constructors

Definition

Overloads

PanUpdatedEventArgs(GestureStatus, Int32)

Creates a new PanUpdatedEventArgs with the specified values.

PanUpdatedEventArgs(GestureStatus, Int32, Double, Double)

Creates a new PanUpdatedEventArgs with the specified values.

PanUpdatedEventArgs(GestureStatus, Int32)

Source:
PanUpdatedEventArgs.cs
Source:
PanUpdatedEventArgs.cs

Creates a new PanUpdatedEventArgs with the specified values.

public:
 PanUpdatedEventArgs(Microsoft::Maui::GestureStatus type, int gestureId);
public PanUpdatedEventArgs (Microsoft.Maui.GestureStatus type, int gestureId);
new Microsoft.Maui.Controls.PanUpdatedEventArgs : Microsoft.Maui.GestureStatus * int -> Microsoft.Maui.Controls.PanUpdatedEventArgs
Public Sub New (type As GestureStatus, gestureId As Integer)

Parameters

type
GestureStatus

Whether the gesture just began, is continuing, was completed, or is canceled.

gestureId
Int32

An identifier for the gesture.

Applies to

PanUpdatedEventArgs(GestureStatus, Int32, Double, Double)

Source:
PanUpdatedEventArgs.cs
Source:
PanUpdatedEventArgs.cs

Creates a new PanUpdatedEventArgs with the specified values.

public:
 PanUpdatedEventArgs(Microsoft::Maui::GestureStatus type, int gestureId, double totalx, double totaly);
public PanUpdatedEventArgs (Microsoft.Maui.GestureStatus type, int gestureId, double totalx, double totaly);
new Microsoft.Maui.Controls.PanUpdatedEventArgs : Microsoft.Maui.GestureStatus * int * double * double -> Microsoft.Maui.Controls.PanUpdatedEventArgs
Public Sub New (type As GestureStatus, gestureId As Integer, totalx As Double, totaly As Double)

Parameters

type
GestureStatus

Whether the gesture just began, is continuing, was completed, or is canceled.

gestureId
Int32

An identifier for the gesture.

totalx
Double

The total change in the X direction since the beginning of the gesture.

totaly
Double

The total change in the Y direction since the beginning of the gesture.

Applies to