ManipulationModes ManipulationModes ManipulationModes ManipulationModes Enum

Definition

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

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class ManipulationModes
enum class winrt::Windows::UI::Xaml::Input::ManipulationModes : uint32_t
public enum ManipulationModes
Public Enum ManipulationModes
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

All All All All 65535

Enable all manipulation interaction modes except those supported through Direct Manipulation

None None None None 0

Do not present graphic interaction with manipulation events.

Rotate Rotate Rotate Rotate 16

Permit manipulation actions that rotate the target.

RotateInertia RotateInertia RotateInertia RotateInertia 128

Apply inertia to rotate actions.

Scale Scale Scale Scale 32

Permit manipulation actions that scale the target.

ScaleInertia ScaleInertia ScaleInertia ScaleInertia 256

Apply inertia to scale actions.

System System System System 65536

Enable system-driven touch interactions supported through Direct Manipulation.

TranslateInertia TranslateInertia TranslateInertia TranslateInertia 64

Apply inertia to translate actions.

TranslateRailsX TranslateRailsX TranslateRailsX TranslateRailsX 4

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

TranslateRailsY TranslateRailsY TranslateRailsY TranslateRailsY 8

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

TranslateX TranslateX TranslateX TranslateX 1

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

TranslateY TranslateY TranslateY TranslateY 2

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

Remarks

Note

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

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 Handle pointer input.

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

See Also