ManipulationInertiaStartingEventArgs Class
TOC
Collapse the table of content
Expand the table of content

ManipulationInertiaStartingEventArgs Class

.NET Framework (current version)
 

Provides data for the ManipulationInertiaStarting event.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

System::Object
  System::EventArgs
    System.Windows::RoutedEventArgs
      System.Windows.Input::InputEventArgs
        System.Windows.Input::ManipulationInertiaStartingEventArgs

public ref class ManipulationInertiaStartingEventArgs sealed : InputEventArgs

NameDescription
System_CAPS_pubpropertyDevice

Gets the input device that initiated this event.(Inherited from InputEventArgs.)

System_CAPS_pubpropertyExpansionBehavior

Get or sets the rate of slowdown of expansion inertial movement.

System_CAPS_pubpropertyHandled

Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from RoutedEventArgs.)

System_CAPS_pubpropertyInitialVelocities

Gets the rates of changes to the manipulation that occur before inertia starts.

System_CAPS_pubpropertyManipulationContainer

Gets the container that the ManipulationOrigin property is relative to.

System_CAPS_pubpropertyManipulationOrigin

Gets or sets the point from which the manipulation originated.

System_CAPS_pubpropertyManipulators

Gets a collection of objects that represents the touch contacts for the manipulation.

System_CAPS_pubpropertyOriginalSource

Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.(Inherited from RoutedEventArgs.)

System_CAPS_pubpropertyRotationBehavior

Gets or sets the rate of slowdown of rotational inertial movement.

System_CAPS_pubpropertyRoutedEvent

Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. (Inherited from RoutedEventArgs.)

System_CAPS_pubpropertySource

Gets or sets a reference to the object that raised the event. (Inherited from RoutedEventArgs.)

System_CAPS_pubpropertyTimestamp

Gets the time when this event occurred. (Inherited from InputEventArgs.)

System_CAPS_pubpropertyTranslationBehavior

Gets and sets the rate of slowdown of linear inertial movement.

NameDescription
System_CAPS_pubmethodCancel()

Cancels the manipulation.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSetInertiaParameter(InertiaParameters2D^)

Specifies the behavior of a manipulation during inertia.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

You can use the ManipulationInertiaStartingEventArgs object to specify the inertial behavior of a manipulation. You can specify the inertial behavior for each type of manipulation separately by using the TranslationBehavior, ExpansionBehavior, and RotationBehavior properties. Each property is a type of object that represents the inertial behavior and in each case, you can specify the following:

  • The initial velocity of the inertia when it begins.

  • The desired position of the manipulation when inertia ends.

  • The desired deceleration of the inertia.

You typically specify either the desired position of the manipulation when inertia ends or the desired deceleration of the inertia, but not both.

For more information about manipulations, see the Input Overview.

The following example shows the ManipulationInertiaStarting event handler and sets the desired deceleration for translation, expansion, and rotation that is used during inertia. This example is part of a larger example in Walkthrough: Creating Your First Touch Application.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft