InertiaTranslationBehavior InertiaTranslationBehavior InertiaTranslationBehavior Class

Controls deceleration on a translation manipulation during inertia.

Syntax

Declaration

public sealed class InertiaTranslationBehaviorpublic sealed class InertiaTranslationBehaviorPublic NotInheritable Class InertiaTranslationBehavior

Properties summary

Gets or sets the rate the linear movement slows in device-independent units (1/96th inch per unit) per squared millisecond.

Gets or sets the linear movement of the manipulation at the end of inertia.

Properties

  • DesiredDeceleration
    DesiredDeceleration
    DesiredDeceleration
    DesiredDeceleration

    Gets or sets the rate the linear movement slows in device-independent units (1/96th inch per unit) per squared millisecond.

    public double DesiredDeceleration { get; set; }public double DesiredDeceleration { get; set; }Public ReadWrite Property DesiredDeceleration As doublepublic double DesiredDeceleration { get; set; }

    Property Value

    • double
      double
      double

      The rate the linear movement slows in device-independent units (1/96th inch per unit) per squared millisecond.

  • DesiredDisplacement
    DesiredDisplacement
    DesiredDisplacement
    DesiredDisplacement

    Gets or sets the linear movement of the manipulation at the end of inertia.

    public double DesiredDisplacement { get; set; }public double DesiredDisplacement { get; set; }Public ReadWrite Property DesiredDisplacement As doublepublic double DesiredDisplacement { get; set; }

    Property Value

    • double
      double
      double

      The linear movement of the manipulation at the end of inertia.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.UI.Xaml.Input.dll