Udostępnij za pośrednictwem


ManipulationDeltaRoutedEventArgs Class

Definition

Provides data for the ManipulationDelta event.

public ref class ManipulationDeltaRoutedEventArgs sealed : RoutedEventArgs
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 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.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ManipulationDeltaRoutedEventArgs : RoutedEventArgs
Public NotInheritable Class ManipulationDeltaRoutedEventArgs
Inherits RoutedEventArgs
Inheritance
Object Platform::Object IInspectable RoutedEventArgs ManipulationDeltaRoutedEventArgs
Attributes

Constructors

ManipulationDeltaRoutedEventArgs()

Initializes a new instance of the ManipulationDeltaRoutedEventArgs class.

Properties

Container

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

Cumulative

Gets the overall changes since the beginning of the manipulation.

Delta

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

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.

IsInertial

Gets whether the ManipulationDelta event occurs during inertia.

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.

(Inherited from RoutedEventArgs)
PointerDeviceType

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

Position

Gets the point from which the manipulation originated.

Velocities

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

Methods

Complete()

Completes the manipulation without inertia.

Applies to

See also