User Agent Parser
IsTouch Property



KellermanSoftware.UserAgentParser Namespace > DeviceInformation Class : IsTouch Property
Gets or sets a value indicating whether this instance is a touch device.
Syntax
'Declaration
 
Public Property IsTouch As Boolean
'Usage
 
Dim instance As DeviceInformation
Dim value As Boolean
 
instance.IsTouch = value
 
value = instance.IsTouch
public bool IsTouch {get; set;}
public:
property bool IsTouch {
   bool get();
   void set (    bool value);
}

Property Value

true if this instance is touch device; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DeviceInformation Class
DeviceInformation Members