Share via


SPControl.IsAccessibilityMode method

Gets or sets a value that indicates whether accessibility mode is set for the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

returnValue = SPControl.IsAccessibilityMode(context)
public static bool IsAccessibilityMode(
    HttpContext context
)

Parameters

Return value

Type: System.Boolean
true if accessibility mode is set; otherwise, false.

Remarks

A control can alter its behavior if accessibility mode is turned on for the control.

See also

Reference

SPControl class

SPControl members

Microsoft.SharePoint.WebControls namespace