Extends Gesture.Pan and Gesture

Gesture.EdgePan

A continuous gesture recognizer for panning (dragging) gestures that begin from the edge of an Item.

Gesture.EdgePan extends Gesture.Pan to reject gestures that do not begin at the edge of an Item, but otherwise behaves identically.

property Gesture.EdgePan.Edge edges: .All

Sets the edges the pan gesture will accept.

Gesture.EdgePan.Edge.Left

The left edge.

Gesture.EdgePan.Edge.Right

The right edge.

Gesture.EdgePan.Edge.Top

The top edge.

Gesture.EdgePan.Edge.Bottom

The bottom edge.

Gesture.EdgePan.Edge.All

All edges.

You can combine multiple edges using the | operator. For example, you can set the left and right edges like this:

edges: .Left | .Right