ManipulationModes ManipulationModes ManipulationModes Enum

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

Declaration

public enum ManipulationModespublic enum ManipulationModesPublic Enum ManipulationModes

Remarks

This enumeration provides the value for the 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 ManipulationMode property.

Fields

All
All
All
All

Enable all manipulation interaction modes except those supported through Direct Manipulation

None
None
None
None

Do not present graphic interaction with manipulation events.

Rotate
Rotate
Rotate
Rotate

Permit manipulation actions that rotate the target.

RotateInertia
RotateInertia
RotateInertia
RotateInertia

Apply inertia to rotate actions.

Scale
Scale
Scale
Scale

Permit manipulation actions that scale the target.

ScaleInertia
ScaleInertia
ScaleInertia
ScaleInertia

Apply inertia to scale actions.

System
System
System
System

Enable system-driven touch interactions supported through Direct Manipulation.

TranslateInertia
TranslateInertia
TranslateInertia
TranslateInertia

Apply inertia to translate actions.

TranslateRailsX
TranslateRailsX
TranslateRailsX
TranslateRailsX

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

TranslateRailsY
TranslateRailsY
TranslateRailsY
TranslateRailsY

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

TranslateX
TranslateX
TranslateX
TranslateX

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

TranslateY
TranslateY
TranslateY
TranslateY

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

System.FlagsAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Input.dll