HttpCapabilitiesBase.SupportsInputMode Property

 

Gets a value indicating whether the browser supports the mode attribute of HTML <input> elements.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

abstract SupportsInputMode : bool with get
override SupportsInputMode : bool with get

Property Value

Type: System.Boolean

true if the browser supports the mode attribute of HTML <input> elements; otherwise, false. The default is false.

The SupportsInputMode property applies only to i-mode–compatible devices.

The MODE attribute is used for setting the input mode of a text input field on i-mode–compatible browsers.

The following code example shows how to determine whether the browser supports the mode attribute of HTML <input> elements.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: