ManipulationUpdatedEventArgs.CurrentContactCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current number of contact points for the ongoing ManipulationUpdated event.
public:
property unsigned int CurrentContactCount { unsigned int get(); };
uint32_t CurrentContactCount();
public uint CurrentContactCount { get; }
var uInt32 = manipulationUpdatedEventArgs.currentContactCount;
Public ReadOnly Property CurrentContactCount As UInteger
Property Value
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.