Dela via


ManipulationCompletedEventArgs.CurrentContactCount Property

Definition

Gets the current number of contact points for the ongoing Windows.UI.Input.GestureRecognizer.ManipulationCompleted event.

public:
 property unsigned int CurrentContactCount { unsigned int get(); };
uint32_t CurrentContactCount();
public uint CurrentContactCount { get; }
var uInt32 = manipulationCompletedEventArgs.currentContactCount;
Public ReadOnly Property CurrentContactCount As UInteger

Property Value

UInt32

unsigned int

uint32_t

The number of contact points.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

ContactCount always returns the number of contacts detected when the current manipulation started.

CurrentContactCount returns the number of active contacts. This number might or might not be equal to ContactCount as contacts can be added or removed after the manipulation starts.

Applies to