Delen via


TouchCapabilities.TouchPresent Property

Definition

Gets a value that indicates whether a touch digitizer is detected.

public:
 property int TouchPresent { int get(); };
int TouchPresent();
public int TouchPresent { get; }
var int32 = touchCapabilities.touchPresent;
Public ReadOnly Property TouchPresent As Integer

Property Value

Int32

int

The number of touch digitizers detected. Typically 0 or 1.

Remarks

This property always returns 1 if an instance of the Microsoft Visual Studio simulator is running.

Applies to

See also