Aracılığıyla paylaş


ManipulationCompletedEventArgs.ContactCount Property

Definition

Gets the number of contact points at the time the ManipulationCompleted event is recognized.

public:
 property unsigned int ContactCount { unsigned int get(); };
uint32_t ContactCount();
public uint ContactCount { get; }
var uInt32 = manipulationCompletedEventArgs.contactCount;
Public ReadOnly Property ContactCount 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

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