Class SynthesizeScrollGestureCommandSettings
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
public sealed class SynthesizeScrollGestureCommandSettings : ICommand
- Inheritance
-
SynthesizeScrollGestureCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
GestureSourceType
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
[JsonPropertyName("gestureSourceType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public GestureSourceType? GestureSourceType { get; set; }
Property Value
InteractionMarkerName
The name of the interaction markers to generate, if not empty (default: "").
[JsonPropertyName("interactionMarkerName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? InteractionMarkerName { get; set; }
Property Value
PreventFling
Prevent fling (default: true).
[JsonPropertyName("preventFling")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? PreventFling { get; set; }
Property Value
- bool?
RepeatCount
The number of times to repeat the gesture (default: 0).
[JsonPropertyName("repeatCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? RepeatCount { get; set; }
Property Value
- long?
RepeatDelayMs
The number of milliseconds delay between each repeat. (default: 250).
[JsonPropertyName("repeatDelayMs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? RepeatDelayMs { get; set; }
Property Value
- long?
Speed
Swipe speed in pixels per second (default: 800).
[JsonPropertyName("speed")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Speed { get; set; }
Property Value
- long?
X
X coordinate of the start of the gesture in CSS pixels.
[JsonPropertyName("x")]
public double X { get; set; }
Property Value
XDistance
The distance to scroll along the X axis (positive to scroll left).
[JsonPropertyName("xDistance")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? XDistance { get; set; }
Property Value
XOverscroll
The number of additional pixels to scroll back along the X axis, in addition to the given distance.
[JsonPropertyName("xOverscroll")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? XOverscroll { get; set; }
Property Value
Y
Y coordinate of the start of the gesture in CSS pixels.
[JsonPropertyName("y")]
public double Y { get; set; }
Property Value
YDistance
The distance to scroll along the Y axis (positive to scroll up).
[JsonPropertyName("yDistance")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? YDistance { get; set; }
Property Value
YOverscroll
The number of additional pixels to scroll back along the Y axis, in addition to the given distance.
[JsonPropertyName("yOverscroll")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? YOverscroll { get; set; }