ManipulationDeltaRoutedEventArgs ManipulationDeltaRoutedEventArgs ManipulationDeltaRoutedEventArgs Class

Provides data for the ManipulationDelta event.

Syntax

Declaration

public sealed class ManipulationDeltaRoutedEventArgspublic sealed class ManipulationDeltaRoutedEventArgsPublic NotInheritable Class ManipulationDeltaRoutedEventArgs

Inheritance Hierarchy

Inherited Members

Inherited properties

Constructors summary

Initializes a new instance of the ManipulationDeltaRoutedEventArgs class.

Properties summary

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

Gets the overall changes since the beginning of the manipulation.

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

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.

Gets whether the ManipulationDelta event occurs during inertia.

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

Gets the point from which the manipulation originated.

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

Methods summary

Completes the manipulation without inertia.

Constructors

  • ManipulationDeltaRoutedEventArgs()
    ManipulationDeltaRoutedEventArgs()
    ManipulationDeltaRoutedEventArgs()
    ManipulationDeltaRoutedEventArgs()

    Initializes a new instance of the ManipulationDeltaRoutedEventArgs class.

    public ManipulationDeltaRoutedEventArgs()public New()Public Sub New()public ManipulationDeltaRoutedEventArgs()

Properties

  • Container
    Container
    Container
    Container

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

    public UIElement Container { get; }public UIElement Container { get; }Public ReadOnly Property Container As UIElementpublic UIElement Container { get; }

    Property Value

    Remarks

  • Cumulative
    Cumulative
    Cumulative
    Cumulative

    Gets the overall changes since the beginning of the manipulation.

    public ManipulationDelta Cumulative { get; }public ManipulationDelta Cumulative { get; }Public ReadOnly Property Cumulative As ManipulationDeltapublic ManipulationDelta Cumulative { get; }

    Property Value

  • Delta
    Delta
    Delta
    Delta

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

    public ManipulationDelta Delta { get; }public ManipulationDelta Delta { get; }Public ReadOnly Property Delta As ManipulationDeltapublic ManipulationDelta Delta { get; }

    Property Value

  • Handled
    Handled
    Handled
    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.

    public bool Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As boolpublic bool Handled { get; set; }

    Property Value

    • bool
      bool
      bool

      true to mark the routed event handled; false to leave the routed event unhandled, which permits the event to potentially route further. The default is false.

  • IsInertial
    IsInertial
    IsInertial
    IsInertial

    Gets whether the ManipulationDelta event occurs during inertia.

    public bool IsInertial { get; }public bool IsInertial { get; }Public ReadOnly Property IsInertial As boolpublic bool IsInertial { get; }

    Property Value

    • bool
      bool
      bool

      true if the ManipulationDelta event occurs during inertia; false if the event occurs while the user's input device has contact with the element.

  • PointerDeviceType
    PointerDeviceType
    PointerDeviceType
    PointerDeviceType

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

    public PointerDeviceType PointerDeviceType { get; }public PointerDeviceType PointerDeviceType { get; }Public ReadOnly Property PointerDeviceType As PointerDeviceTypepublic PointerDeviceType PointerDeviceType { get; }

    Property Value

  • Position
    Position
    Position
    Position

    Gets the point from which the manipulation originated.

    public Point Position { get; }public Point Position { get; }Public ReadOnly Property Position As Pointpublic Point Position { get; }

    Property Value

  • Velocities
    Velocities
    Velocities
    Velocities

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

    public ManipulationVelocities Velocities { get; }public ManipulationVelocities Velocities { get; }Public ReadOnly Property Velocities As ManipulationVelocitiespublic ManipulationVelocities Velocities { get; }

    Property Value

Methods

  • Complete()
    Complete()
    Complete()
    Complete()

    Completes the manipulation without inertia.

    public void Complete()public void Complete()Public Function Complete() As voidpublic void Complete()

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Input.dll