Export (0) Print
Expand All
Expand Minimize

MobileCapabilities Class Members

.NET Framework 1.1

Public Constructors

MobileCapabilities Constructor Initializes a new instance of the MobileCapabilities class.

Public Fields

PreferredRenderingTypeChtml10 Field Returns the source identifier to use for compact HTML 1.0.
PreferredRenderingTypeHtml32 Field Returns the source identifier to use for HTML 3.2.
PreferredRenderingTypeWml11 Field Returns the source identifier to use for WML 1.1.
PreferredRenderingTypeWml12 Field Returns the source identifier to use for WML 1.2.

Public Methods

Equals Method (inherited from Object) Used internally by ASP.NET.
GetHashCode Method (inherited from Object) Used internally by ASP.NET. Not intended for use by client applications.
GetType Method (inherited from Object) Inherited from .NET Framework.
HasCapability Method Provides a uniform way to evaluate device capabilities. This method is used internally by ASP.NET to implement various device-selection criteria expressed in the syntax of the controls. For example, ASP.NET uses this method to choose among <Choice> elements in a DeviceSelect/Choice construct.
ToString Method (inherited from Object) Inherited from .NET Framework.

Protected Methods

Finalize Method (inherited from Object) Inherited from .NET Framework.
Init Method (inherited from HttpCapabilitiesBase) Inherited from .NET Framework.
MemberwiseClone Method (inherited from Object) Inherited from .NET Framework.

Public Properties

ActiveXControls Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
AOL Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
BackgroundSounds Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Beta Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Browser Property (inherited from HttpBrowserCapabilities) Returns the type of browser. The default value is Unknown.
CanCombineFormsInDeck Property Returns true if the browser on the device can handle decks that contain multiple forms, as separate cards. The default value is true.
CanInitiateVoiceCall Property Returns true if the device is capable of initiating a voice call. The default value is false.
CanRenderEmptySelects Property Indicates whether a device can render empty select markup language statements.
CanRenderInputAndSelectElementsTogether Property Indicates whether the device can render the <Input> and <Select> elements together.
CanRenderMixedSelects Property Returns true if the browser on the device can handle <select> tags that include <option> elements with both onpick and value attributes. The default value is true.
CanRenderOneventAndPrevElementsTogether Property Returns true if the device can handle the elements <Onevent> and <do type="prev" label="Back"></prev></do> when they are put together. The default value is true.
CanRenderPostBackCards Property Set to false for devices that do not do not use postback cards. The default is true.
CanRenderSetvarZeroWithMultiSelectionList Property Returns true if the device can accept the WML <setvar> element with value attribute set to zero for the select/option construct of the multiselection list control. The default value is true.
CanSendMail Property Returns true if the device or browser supports sending mail through the mailto scheme for electronic mail addresses. The default value is true.
CDF Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
ClrVersion Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Cookies Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Crawler Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
DefaultSubmitButtonLimit Property Returns the default number of softkeys for the device.
EcmaScriptVersion Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Frames Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
GatewayMajorVersion Property Returns the major version number of the wireless gateway used to access the server, if it is known. The default value is 0.
GatewayMinorVersion Property Returns the minor version number of the wireless gateway used to access the server, if it is known. The default value is 0.
GatewayVersion Property Returns the version of the wireless gateway used to access the server, if it is known. The default value is None.
HasBackButton Property Returns true if the device or browser has a dedicated back button. The default value is true.
HidesRightAlignedMultiselectScrollbars Property Returns true if the scrollbar of a right aligned <select multiple> element is obscured by the scrollbar for the page. The default is false.
InputType Property Returns the type of input supported on the device. The default value is telephoneKeypad.
IsColor Property Returns true if the device has a color display. The default value is false.
IsMobileDevice Property Returns true if the device is a recognized mobile device. The default value is true.
Item Property (inherited from HttpCapabilitiesBase) The default indexer for the MobileCapabilities class, inherited from the System.Web.HttpCapabilities class, allows the lookup of arbitrary capability values by name. Any of the properties below can be accessed by name. However, the returned value will always be a string (or null if not defined), rather than a type-safe value.
JavaApplets Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
JavaScript Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
MaximumRenderedPageSize Property Returns the maximum length of the page, in bytes, that the device can display. The default value is 2000.
MaximumSoftkeyLabelLength Property Returns the maximum length of the text that a softkey label can display. The default value is 5.
MobileDeviceManufacturer Property Returns the name of the manufacturer of the device, if known. The default value is Unknown.
MobileDeviceModel Property Returns the model name of the device, if known. The default value is Unknown.
MSDomVersion Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
NumberOfSoftkeys Property Returns the number of softkeys supported on the device. The default value is 0.
Platform Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
PreferredImageMime Property Returns the MIME type of the type of image content preferred by the device. The default value is image/gif.
PreferredRenderingMime Property Returns the MIME type of the type of content that the device prefers. The default value is text/html.
PreferredRenderingType Property Returns the general name for the type of content preferred by the device. The default value is html32.
RendersBreakBeforeWmlSelectAndInput Property Returns true if the device inserts an additional break before rendering a WML <select> or <input> element. The default value is false.
RendersBreaksAfterHtmlLists Property Returns true if the device already renders breaks after HTML list tags. The default value is true.
RendersBreaksAfterWmlAnchor Property Returns true if the device or browser produces a break after a stand-alone anchor. The default value is false.
RendersBreaksAfterWmlInput Property Returns whether a device automatically renders a break after input elements have been received. The default value is false.
RendersWmlDoAcceptsInline Property Returns true if the device renders a WML <do>-based form accept construct as an inline button, rather than as a softkey. The default value is true.
RendersWmlSelectsAsMenuCards Property Returns true if the device renders the <select> tag constructs as menu cards, rather than as a combo box. The default value is false.
RequiredMetaTagNameValue Property Returns a meta-tag required by some devices.
RequiresAttributeColonSubstitution Property Returns true if colons in tag name attributes need to substitute a different character on rendering. The default is false.
RequiresContentTypeMetaTag Property Returns true if the user is browsing the application with Pocket Internet Explorer.
RequiresHtmlAdaptiveErrorReporting Property Returns true if the HTML device should get the default ASP.NET error message, or an adaptive one. The default is false.
RequiresNoBreakInFormatting Property Returns true if the device requires that formatting tags must not contain <br> tags. The default is false.
RequiresOutputOptimization Property When true, the adapters will try to generate minimal output to reduce the resulting markup size. The default is false.
RequiresPhoneNumbersAsPlainText Property Returns true if the device only supports phone dialing based on plain text, rather than through special markup. The default is false.
RequiresSpecialViewStateEncoding Property Returns true if the device requires special encoding on the generated view state value. The default is false.
RequiresUniqueFilePathSuffix Property Returns true if a unique file path suffix is required. The default is false.
RequiresUniqueHtmlCheckboxNames Property Returns true if the device requires that the checkbox type HTML <input> tag contains unique name attribute values. The default value is false.
RequiresUniqueHtmlInputNames Property Property Returns true if the device requires that the HTML <input> tag contains unique name attribute values. The default value is false.
RequiresUrlEncodedPostfieldValues Property Returns true if the device, during postback, encodes text in the value attribute of a posted field. The default is false.
ScreenBitDepth Property Returns the depth of the display, in bits per pixel. The default value is 1.
ScreenCharactersHeight Property Returns the approximate height of the display, in character lines. The default value is 6.
ScreenCharactersWidth Property Returns the approximate width of the display, in characters. The default value is 12.
ScreenPixelsHeight Property Returns the approximate height of the display, in pixels. The default value is 72.
ScreenPixelsWidth Property Returns the approximate width of the display, in pixels. The default value is 96.
SupportsAccesskeyAttribute Property Returns true if the device can handle the AccessKey attribute for <a> and <input> tags. The default is false.
SupportsBodyColor Property Returns true if the device supports the bgcolor attribute on the <body> tag. The default is true.
SupportsBold Property Returns true if the device supports bold text as specified through the <b> tag. The default is false.
SupportsCacheControlMetaTag Property Returns true if the device supports the meta tag Cache-Control: max-age-0. The default is true.
SupportsCss Property Returns true if the device supports cascading style sheets for font properties. The default value is false.
SupportsDivAlign Property Returns true if the device supports the align attribute within a <div> tag. The default is true.
SupportsDivNoWrap Property Returns true if the device supports the nowrap attribute within a <div> tag. The default is false.
SupportsFontColor Property Returns true if the device supports the color attribute of the <font> tag. The default is true.
SupportsFontName Property Returns true if the device supports the name attribute of the <font> tag. The default is false.
SupportsFontSize Property Returns true if the device supports the size attribute of the <font> tag. The default is false
SupportsImageSubmit Property Returns true if the device can handle images that submit the form. The default is false.
SupportsIModeSymbols Property Returns true if the device supports the i-mode symbols. The default is false.
SupportsInputIStyle Property Returns true if the device supports the istyle attribute for the <input> tag. The default is false.
SupportsInputMode Property Returns true if the device supports the attribute mode for an <input> element. The default value is false.
SupportsItalic Property Returns true if the device supports the <i> element. The default is false.
SupportsJPhoneMultiMediaAttributes Property Returns true if the device supports the J-Phone multimedia attributes. The default is false.
SupportsJPhoneSymbols Property Returns true if the device supports J-Phone specific picture symbols. The default value is false.
SupportsQueryStringInFormAction Property Returns true if the device supports a query string in the action attribute of a <form> tag. The default value is true.
SupportsSelectMultiple Property Returns true if the device supports the multiple attribute for HTML select tags (<SELECT MULTIPLE> is a valid tag). Returns false if the device does not support select multiple tags. The default is true.
SupportsUncheck Property Returns true if when the user unselects a checked HTML check box, that deselection is reflected in the post fields. The default value is true.
Tables Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
TagWriter Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Type Property (inherited from HttpBrowserCapabilities) Returns the type of input supported on the device. The default value is telephoneKeypad.
VBScript Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Version Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
W3CDomVersion Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Win16 Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.
Win32 Property (inherited from HttpBrowserCapabilities) Inherited from .NET Framework.

See Also

MobileCapabilities Class

Show:
© 2014 Microsoft