TouchCapabilities.TouchPresent 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 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.