SPMobileUtility.SupportsTouchUserInterface Method

Gets a value that indicates whether the mobile device browser supports touch screens.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function SupportsTouchUserInterface ( _
    context As HttpContext _
) As Boolean
'Usage
Dim context As HttpContext
Dim returnValue As Boolean

returnValue = SPMobileUtility.SupportsTouchUserInterface(context)
public static bool SupportsTouchUserInterface(
    HttpContext context
)

Parameters

Return Value

Type: System.Boolean
true, if the browser supports touch screens; otherwise false.

See Also

Reference

SPMobileUtility Class

SPMobileUtility Members

Microsoft.SharePoint.Utilities Namespace