TabletDeviceCollection.Count Property

 

Gets the number of TabletDevice objects in the collection.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public int Count { get; }

Property Value

Type: System.Int32

The number of TabletDevice objects in the collection.

The following example demonstrates the Count property.

// Get the number of tablet devices
int numTabletDevices = myTabletDeviceCollection.Count;

.NET Framework
Available since 3.0
Return to top
Show: