Version

Mode Property

Returns or sets a value indicating which gestures will cause events to fire.
Syntax
'Declaration
 
Public Property Mode As GestureModes
public GestureModes Mode {get; set;}
Remarks

The GestureModes type is a flagged enumeration; as such, any combination of gesture modes can be allowed or blocked.

For example, to enable only panning and zooming, set the Mode property to the bitwise OR combination GestureModes.Pan | GestureModes.Zoom.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also