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 | |
---|---|---|
WebPartMobileAdapter | Initializes a new instance of the WebPartMobileAdapter class. |
Top
Properties
Name | Description | |
---|---|---|
Browser | (Inherited from ControlAdapter.) | |
Control | Gets the Web Part that is being adapted. | |
Controls | Gets a collection of the child controls the adapter will use to render the Web Part on a mobile page. | |
DetailViewPageUrl | Gets the URL of the detailed mobile view page of the Web Part that is being adapted. | |
DetailViewTitleIconUrl | Gets the URL of the icon that renders beside the title in the detailed view of the Web Part on a mobile page. | |
ExpandCollapseFunctionUrl | Gets the URL of the ECMAScript (JavaScript and JScript) function that provides expanding and collapsing of the Web Part. | |
ItemBulletIconUrl | Gets the URL of the bullet image that is used when the adapter renders a bulleted list of items. | |
MobilePage | Gets an object that represents the current page, if the page is an WebPartMobilePage object. | |
MobileWebPage | Gets the current page as WebPartMobileWebPage. Null is returned if the current page is not WebPartMobileWebPage. | |
Page | (Inherited from ControlAdapter.) | |
PageAdapter | (Inherited from ControlAdapter.) | |
SummaryViewPageUrl | Gets URL of the mobile summary view page of the Web Part. | |
SummaryViewTitleIconUrl | Gets the URL of the icon that renders beside the title in the summary view of the Web Part on a mobile page. | |
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. | |
Web | Gets the current SharePoint Web site | |
WebPartIconUrl | Gets the URL of the icon that represents the Web Part. | |
WebPartTitle | Gets the display title of the Web Part that is being adapted. |
Top
Methods
Name | Description | |
---|---|---|
BeginRender | (Inherited from ControlAdapter.) | |
CreateChildControls | Creates the child controls of the adapter. (Overrides ControlAdapter.CreateChildControls().) | |
CreateControlsForDetailView | Obsolete. When overridden in a derived class, renders a detailed view of the Web Part on mobile devices. | |
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. | |
CreateControlsForSummaryView | Obsolete. When overridden in a derived class, renders a summary view of the Web Part on mobile devices. | |
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. | |
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. | |
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. | |
CreateWebPartLabel | Obsolete. Gets a label containing the title of the Web Part. | |
CreateWebPartLabelAdv | Returns a label control, which displays the web part title. The label is displayed in bold if the browser supports bold text. | |
Dispose | Releases all resources used by the adapter control. | |
EndRender | (Inherited from ControlAdapter.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadAdapterControlState | (Inherited from ControlAdapter.) | |
LoadAdapterViewState | (Inherited from ControlAdapter.) | |
MemberwiseClone | (Inherited from Object.) | |
OnInit | Replaces the OnInit(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnInit(EventArgs).) | |
OnInitForMobile | Replaces the OnInit(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage. | |
OnLoad | Replaces the OnLoad(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnLoad(EventArgs).) | |
OnLoadForMobile | Replaces the OnLoad(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage. | |
OnPreRender | Replaces the OnPreRender(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnPreRender(EventArgs).) | |
OnPreRenderForMobile | Replaces the OnPreRender(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage. | |
OnUnload | Replaces the OnUnload(EventArgs) method of the control that is being adapted. (Overrides ControlAdapter.OnUnload(EventArgs).) | |
OnUnloadForMobile | Replaces the OnUnload(EventArgs) method of the control that is being adapted when the control is on a WebPartMobilePage. | |
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).) | |
RenderChildren | (Inherited from ControlAdapter.) | |
SaveAdapterControlState | (Inherited from ControlAdapter.) | |
SaveAdapterViewState | (Inherited from ControlAdapter.) | |
ToString | (Inherited from Object.) |
Top