ManipulationModes enumeration

Applies to Windows and Windows Phone

Specifies how a target UI element interprets manipulation events. This enumeration is flagwise, so you can set multiple modes for the ManipulationMode property.

Note  Direct Manipulation defines a manipulation as the scrolling or zooming of some part of the application UI.

Syntax


public enum ManipulationModes

Attributes

[Flags()]
[Version(0x06020000)]
[WebHostHidden()]

Members

The ManipulationModes enumeration has these members.

MemberValueDescription
None0

Do not present graphic interaction with manipulation events.

TranslateX1

Permit manipulation actions that translate the target on the X axis.

TranslateY2

Permit manipulation actions that translate the target on the Y axis.

TranslateRailsX4

Permit manipulation actions that translate the target on the X axis but using a rails mode.

TranslateRailsY8

Permit manipulation actions that translate the target on the Y axis but using a rails mode.

Rotate16

Permit manipulation actions that rotate the target.

Scale32

Permit manipulation actions that scale the target.

TranslateInertia64

Apply inertia to translate actions.

RotateInertia128

Apply inertia to rotate actions.

ScaleInertia256

Apply inertia to scale actions.

All65535

In Windows 8, enable all manipulation interaction modes except those supported through Direct Manipulation. Starting with Windows 8.1, enable all manipulation interaction modes.

System65536

Enable system-driven touch interactions supported through Direct Manipulation.

Remarks

This enumeration provides the value for the UIElement.ManipulationMode property. By setting this property you can enable app code handling for manipulation events such as ManipulationStarted. You must set the ManipulationMode to a value other than System or None to enable handling the events from that element. For more info on manipulations, see Quickstart: Touch input.

Value enforcement for possible combinations is documented in the Remarks for the UIElement.ManipulationMode property.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Input
Windows::UI::Xaml::Input [C++]

Metadata

Windows.winmd

See also

ManipulationMode
Quickstart: Touch input

 

 

Show:
© 2014 Microsoft