A TransformGesture that provides panning (2D translation).

This is triggered by two pointers (fingers) on the device moving together.

For testing on desktop this can be triggered by holding down Shift, pressing the mouse button and moving. (This desktop feature is intended only for testing, so the specifics of how this works should not be relied upon.)

Location

Namespace
Fuse.Gestures
Package
Fuse.Gestures 2.9.1
Show Uno properties and methods

Interface of PanGesture

ConstrainElement : Element ux

Constrains the gesture so the resulting scaled and translated Visual will remain visible within the ConstrainElement. That is, you can't pan it outside of the visible area.

Constraint : ISizeConstraint ux

Constrains the gesture so the resulting scaled and translated item will remain visible. Unlike ConstrainElement this works only with items exposing an ISizeConstraint, such as Image, but provides stricter bounds calculations (based on the actual visual content, not just the element bounds).

Inherited from TransformGesture

Inherited from Node

ContextParent : Node uno

The context parent is the semantic parent of this node. It is where non-UI structure should be resolved, like looking for the DataContext, a Navigation, or other semantic item.

FindNodeByName(Selector, Predicate<Node> (Node)) : Node uno

Finds the first node with a given name that satisfies the given acceptor. The serach algorithm works as follows: Nodes in the subtree are matched first, then it matches the nodes in the subtrees ofthe ancestor nodes by turn all the way to the root. If no matching node is found, the function returns null.

IsRootingStarted : bool uno

Whether rooting of this node has started. Note that even if this property returns true, rooting may not yet be completed for the node. See also IsRootingCompleted.

Name : Selector ux

Run-time name of the node. This property is automatically set using the ux:Name attribute.

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces

IScriptObject uno

Interface for objects that can have a script engine representation