This documentation is archived and is not being maintained.
XhtmlControlAdapter Members
Visual Studio 2008
Provides a default control adapter for rendering mobile controls in XHTML markup.
The XhtmlControlAdapter type exposes the following members.
| Name | Description | |
|---|---|---|
|
CalculateOptimumPageWeight | Determines the optimum page weight for the device. (Inherited from ControlAdapter.) |
|
ClearPendingBreakIfDeviceBreaksOnBlockLevel | Clears a pending break if the target device breaks on block elements. |
|
ConditionalClearCachedEndTag | Clears the given text writer's current end tag if certain conditions are met. |
|
ConditionalClearPendingBreak | Clears a pending break in the target device if certain conditions are met. |
|
ConditionalEnterFormat | Begins a section with the opening tag and attributes that implement the formats of the specified style, if certain conditions are met. |
|
ConditionalEnterLayout | Begins a section with the opening tag and attributes that implement the layout of the specified style, if certain conditions are met. |
|
ConditionalEnterStyle | Overloaded. Begins a new element that applies the given styles if certain conditions are met. |
|
ConditionalExitFormat | Ends a block that has been using the character formatting from a specified style, if certain conditions are met. |
|
ConditionalExitLayout | Ends a block that has been using the layout formatting from a specified style, if certain conditions are met. |
|
ConditionalExitStyle | Ends a </span> element that has been using the layout and character formatting from a specified style, if certain conditions are met. |
|
ConditionalPopPhysicalCssClass | Removes the current cascading style sheet class name from the XhtmlMobileTextWriter object, if certain conditions are met. |
|
ConditionalRenderClassAttribute | Puts a class name attribute on the next element to be rendered, if certain conditions are met. |
|
ConditionalRenderClosingDivElement | Renders a closing </div> tag if certain conditions are met. |
|
ConditionalRenderClosingSpanElement | Renders a closing </span> element if certain conditions are met. |
|
ConditionalRenderCustomAttribute | Overloaded. Gets the value of the specified custom attribute from the associated control and renders it on the next element if certain conditions are met. |
|
ConditionalRenderOpeningDivElement | Renders an opening tag for a <div> element if certain conditions are met. |
|
ConditionalRenderOpeningSpanElement | Renders an opening tag for a <span> element, if certain conditions are met. |
|
ConditionalSetPendingBreak | Sets a pending break if certain conditions are met. |
|
ConditionalSetPendingBreakAfterInline | Sets a pending break after inline elements if certain conditions are met. |
|
CreateTemplatedUI | Called by a control to create a templated user interface (UI). (Inherited from ControlAdapter.) |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExitSecondaryUIMode | Exits any secondary UI mode for the control. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetCustomAttributeValue | Overloaded. Gets the value of the specified custom attribute. |
|
GetDefaultLabel | Returns the localized default string for the label control. (Inherited from ControlAdapter.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
HandlePostBackEvent | Returns true if the event was handled. (Inherited from ControlAdapter.) |
|
LoadAdapterState | Loads view state data specific to this adapter. (Overrides ControlAdapter::LoadAdapterState(Object).) |
|
LoadPostData | Returns true if the adapter handles loading the post data. (Inherited from ControlAdapter.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnInit | Called after an object, such as a form or a page, is initialized. (Inherited from ControlAdapter.) |
|
OnLoad | Loads data that pertains to a control, a page, or a device adapter. (Inherited from ControlAdapter.) |
|
OnPreRender | Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering. (Inherited from ControlAdapter.) |
|
OnUnload | Unloads data that pertains to a control, a page, or a device adapter. (Inherited from ControlAdapter.) |
|
PreprocessQueryString | Gets the portion of the given query string that contains parameters for processing the request. |
|
Render | Overloaded. Displays the associated control and all of its child controls on the client. |
|
RenderAsHiddenInputField | Renders hidden field text for a control. |
|
RenderBeginLink | Overloaded. Renders the opening tag of a link. |
|
RenderChildren | Renders children of the control. (Inherited from ControlAdapter.) |
|
RenderClosingListTag | Renders a closing tag for a specified list element. |
|
RenderEndLink | Renders a closing tag (</a>) for a link element. |
|
RenderOffPageVariables | Renders hidden postback variables for child controls that are not visible due to pagination or secondary UI. |
|
RenderOpeningListTag | Renders an opening tag for the specified tag name. |
|
RenderPostBackEventAsAnchor | Overloaded. Renders a postback event as a link on the page. |
|
SaveAdapterState | Saves view-state data specific to this adapter. (Overrides ControlAdapter::SaveAdapterState().) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
NotSecondaryUI | A value returned by the SecondaryUIMode property, indicating that the adapter is not currently in secondary UI mode. |
| Name | Description | |
|---|---|---|
|
Control | Returns a strongly typed reference to the associated control. (Inherited from ControlAdapter.) |
|
CssLocation | Indicates whether the style sheet is located as an external physical file, is internal to the current page, is stored in the current session state, or is stored in the application cache. |
|
Device | Returns the device capabilities object associated with the request. (Inherited from ControlAdapter.) |
|
DocumentType | Indicates the type of XHTML markup used to render the current document. |
|
ItemWeight | Accesses the approximate weight of a single item in the control. (Inherited from ControlAdapter.) |
|
Page | Returns the page associated with the device adapter. (Inherited from ControlAdapter.) |
|
PageAdapter | Gets the page adapter for the page on which the associated control resides. |
|
SecondaryUIMode | Gets the current secondary UI mode. |
|
Style | Returns the style object associated with the control to which the device adapter is attached. (Inherited from ControlAdapter.) |
|
StyleSheetLocationAttributeValue | Gets the value of the CssLocation attribute, if it exists, from the form in which it is contained. |
|
StyleSheetStorageApplicationSetting | Gets the value of the XhtmlCssState configuration setting in the appSettings section of the Web.config file. |
|
VisibleWeight | Gets or sets the approximate weight of the control, in characters. (Inherited from ControlAdapter.) |
Show: