VisualInteractionSource.DeltaPosition Property

Definition

The amount of position change to be applied during the upcoming frame. Defaults to 0. Readable only via expression/animation.

Equivalent WinUI property: Microsoft.UI.Composition.Interactions.VisualInteractionSource.DeltaPosition.

public:
 property float3 DeltaPosition { float3 get(); };
float3 DeltaPosition();
public Vector3 DeltaPosition { get; }
var vector3 = visualInteractionSource.deltaPosition;
Public ReadOnly Property DeltaPosition As Vector3

Property Value

Vector3 Vector3

float3

The change in position of the interaction source.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to