PanUpdatedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PanUpdatedEventArgs(GestureStatus, Int32) |
使用指定的值新建 PanUpdatedEventArgs。 |
PanUpdatedEventArgs(GestureStatus, Int32, Double, Double) |
使用指定的值新建 PanUpdatedEventArgs。 |
PanUpdatedEventArgs(GestureStatus, Int32)
使用指定的值新建 PanUpdatedEventArgs。
public PanUpdatedEventArgs (Xamarin.Forms.GestureStatus type, int gestureId);
new Xamarin.Forms.PanUpdatedEventArgs : Xamarin.Forms.GestureStatus * int -> Xamarin.Forms.PanUpdatedEventArgs
参数
- type
- GestureStatus
手势是否刚开始、仍在继续、已完成,或已取消。
- gestureId
- System.Int32
手势的标识符。
适用于
PanUpdatedEventArgs(GestureStatus, Int32, Double, Double)
使用指定的值新建 PanUpdatedEventArgs。
public PanUpdatedEventArgs (Xamarin.Forms.GestureStatus type, int gestureId, double totalx, double totaly);
new Xamarin.Forms.PanUpdatedEventArgs : Xamarin.Forms.GestureStatus * int * double * double -> Xamarin.Forms.PanUpdatedEventArgs
参数
- type
- GestureStatus
手势是否刚开始、仍在继续、已完成,或已取消。
- gestureId
- System.Int32
手势的标识符。
- totalx
- System.Double
特定手势开始后 X 方向的总体更改。
- totaly
- System.Double
特定手势开始后 Y 方向的总体更改。