Share via


WebPartMobileAdapter Members

Include Protected Members
Include Inherited 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 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 When overridden in a derived class, renders a detailed view of the Web Part on mobile devices.
Protected method CreateControlsForSummaryView When overridden in a derived class, renders a summary view of the Web Part on mobile devices.
Protected method CreateWebPartIcon 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 CreateWebPartLabel Gets a label containing the title of the Web Part.
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