ScrollEventArgs¶
Namespace: ThinkGeo.UI.Maui
Provides data for scroll gestures handled by MapView.
public class ScrollEventArgs : MapViewEventArgs
Inheritance object → MapViewEventArgs → ScrollEventArgs
Fields¶
ScreenPointers¶
The screenPoint selection. It contains the point (X, Y) for sure, and could contain other screen points
public List<ScreenPointD> ScreenPointers;
X¶
The X on the screen
public double X;
Y¶
The Y on the screen
public double Y;
Properties¶
PointerId¶
Gets the identifier of the pointer associated with the scroll gesture.
public long PointerId { get; private set; }
Property Value¶
ScrollDelta¶
Gets the delta value representing the amount of scroll movement.
public double ScrollDelta { get; private set; }
Property Value¶
Handled¶
Whether this event has been handled
public bool Handled { get; set; }
Property Value¶
Constructors¶
ScrollEventArgs(long, Point, double)¶
Initializes a new instance of the ScrollEventArgs class.
public ScrollEventArgs(long id, Point origin, double direction)
Parameters¶
id long
The identifier of the pointer that initiated the scroll.
origin Point
The screen point where the scroll started.
direction double
The scroll delta applied during the gesture.