ManipulationDeltaRoutedEventArgs Class

Definition

Provides data for the ManipulationDelta event.

Equivalent WinUI class: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.

public ref class ManipulationDeltaRoutedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ManipulationDeltaRoutedEventArgs final : RoutedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ManipulationDeltaRoutedEventArgs final : RoutedEventArgs
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ManipulationDeltaRoutedEventArgs : RoutedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ManipulationDeltaRoutedEventArgs : RoutedEventArgs
Public NotInheritable Class ManipulationDeltaRoutedEventArgs
Inherits RoutedEventArgs
Inheritance
Object IInspectable RoutedEventArgs ManipulationDeltaRoutedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

ManipulationDeltaRoutedEventArgs()

Initializes a new instance of the ManipulationDeltaRoutedEventArgs class.

Properties

Container

Gets the UIElement that is considered the container of the manipulation.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Container.

Cumulative

Gets the overall changes since the beginning of the manipulation.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Cumulative.

Delta

Gets the most recent changes of the current manipulation, as a ManipulationDelta.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Delta.

Handled

Gets or sets a value that marks the routed event as handled. Setting to true prevents most handlers along the event route from handling the same event again.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Handled.

IsInertial

Gets whether the ManipulationDelta event occurs during inertia.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.IsInertial.

OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

Equivalent WinUI property: Microsoft.UI.Xaml.RoutedEventArgs.OriginalSource.

(Inherited from RoutedEventArgs)
PointerDeviceType

Gets the PointerDeviceType for the pointer device involved in the manipulation.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.PointerDeviceType.

Position

Gets the point from which the manipulation originated.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Position.

Velocities

Gets the rates of the most recent changes to the manipulation.

Equivalent WinUI property: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Velocities.

Methods

Complete()

Completes the manipulation without inertia.

Equivalent WinUI method: Microsoft.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs.Complete.

Applies to

See also