Share via


WebPartMobileAdapter members

Provides the common functionality needed by all adapters that make Web Parts on SharePoint pages accessible from mobile devices.

The WebPartMobileAdapter type exposes the following members.

Constructors

  Name Description
Public method WebPartMobileAdapter Initializes a new instance of the WebPartMobileAdapter class.

Top

Properties

  Name Description
Protected property Browser (Inherited from ControlAdapter.)
Protected property Control Gets the Web Part that is being adapted.
Protected property Controls Gets a collection of the child controls the adapter will use to render the Web Part on a mobile page.
Protected property DetailViewPageUrl Gets the URL of the detailed mobile view page of the Web Part that is being adapted.
Protected property DetailViewTitleIconUrl Gets the URL of the icon that renders beside the title in the detailed view of the Web Part on a mobile page.
Protected property ExpandCollapseFunctionUrl Gets the URL of the ECMAScript (JavaScript and JScript) function that provides expanding and collapsing of the Web Part.
Protected property ItemBulletIconUrl Gets the URL of the bullet image that is used when the adapter renders a bulleted list of items.
Protected property MobilePage Gets an object that represents the current page, if the page is an WebPartMobilePage object.
Protected property MobileWebPage Gets the current page as WebPartMobileWebPage. Null is returned if the current page is not WebPartMobileWebPage.
Protected property Page (Inherited from ControlAdapter.)
Protected property PageAdapter (Inherited from ControlAdapter.)
Protected property SummaryViewPageUrl Gets URL of the mobile summary view page of the Web Part.
Protected property SummaryViewTitleIconUrl Gets the URL of the icon that renders beside the title in the summary view of the Web Part on a mobile page.
Protected property TitleIconUrl Gets the URL of the icon that renders beside the title the Web Part on a mobile page when the Web Part cannot be expanded and collapsed.
Protected property Web Gets the current SharePoint Web site
Protected property WebPartIconUrl Gets the URL of the icon that represents the Web Part.
Protected property WebPartTitle Gets the display title of the Web Part that is being adapted.

Top

Methods

  Name Description
Protected method BeginRender (Inherited from ControlAdapter.)
Protected method CreateChildControls Creates the child controls of the adapter. (Overrides ControlAdapter.CreateChildControls().)
Protected method CreateControlsForDetailView Obsolete. When overridden in a derived class, renders a detailed view of the Web Part on mobile devices.
Protected method CreateControlsForDetailViewAdv Override this method to define the rendering for the detail view. If this method is not overriden, icon and the web part title is displayed along with the message to notify user that the detail view is not implemented.
Protected method CreateControlsForSummaryView Obsolete. When overridden in a derived class, renders a summary view of the Web Part on mobile devices.
Protected method CreateControlsForSummaryViewAdv Override this method to define the rendering for the summary view. If this method is not overriden, icon and the web part title is displayed. Clicking the icon navigates user to the detail view page.
Protected method CreateWebPartIcon Obsolete. Gets an icon for the Web Part which, in some contexts, works as a link to another view of the Web Part or as an expand/collapse button.
Protected method CreateWebPartIconAdv Returns an icon for the web part. Icon is rendered either as a plain image, the link to the summary/detail view page, or link to trigger expand/collpase.
Protected method CreateWebPartLabel Obsolete. Gets a label containing the title of the Web Part.
Protected method CreateWebPartLabelAdv Returns a label control, which displays the web part title. The label is displayed in bold if the browser supports bold text.
Public method Dispose Releases all resources used by the adapter control.
Protected method EndRender (Inherited from ControlAdapter.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method LoadAdapterControlState (Inherited from ControlAdapter.)
Protected method LoadAdapterViewState (Inherited from ControlAdapter.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnInit Replaces the OnInit(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnInit(EventArgs).)
Protected method OnInitForMobile Replaces the OnInit(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage.
Protected method OnLoad Replaces the OnLoad(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnLoad(EventArgs).)
Protected method OnLoadForMobile Replaces the OnLoad(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage.
Protected method OnPreRender Replaces the OnPreRender(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnPreRender(EventArgs).)
Protected method OnPreRenderForMobile Replaces the OnPreRender(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage.
Protected method OnUnload Replaces the OnUnload(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnUnload(EventArgs).)
Protected method OnUnloadForMobile Replaces the OnUnload(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage.
Protected method Render Does nothing if the control that is being adapted is on a WebPartMobilePage, otherwise calls the base Render(HtmlTextWriter) method. (Overrides ControlAdapter.Render(HtmlTextWriter).)
Protected method RenderChildren (Inherited from ControlAdapter.)
Protected method SaveAdapterControlState (Inherited from ControlAdapter.)
Protected method SaveAdapterViewState (Inherited from ControlAdapter.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

WebPartMobileAdapter class

Microsoft.SharePoint.WebPartPages namespace