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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for