SPMobileComponent Members

Include Protected Members
Include Inherited Members

Provides the common behaviors of mobile rendering controls in Microsoft SharePoint Foundation.

The SPMobileComponent type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Adapter (Inherited from MobileControl.)
Public property Alignment (Inherited from MobileControl.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property BackColor (Inherited from MobileControl.)
Public property BindingContainer (Inherited from Control.)
Public property BreakAfter (Inherited from MobileControl.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property ControlMode Gets an object that specifies whether the control's mode is for the New form, the Display form, or the Edit form.
Public property Controls (Inherited from Control.)
Public property CustomAttributes (Inherited from MobileControl.)
Public property DefaultTemplateName Gets the value of the ID attribute of the <RenderingTemplate> element that defines the rendering of the component.
Protected property DesignMode (Inherited from Control.)
Public property DeviceSpecific (Inherited from MobileControl.)
Public property EllipsisEnabled Gets or sets a value indicating whether the control is capable of adding an ellipsis at the end of its rendered data when the data exceeds the mobile rendering limit.
Public property EnableTheming (Inherited from MobileControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property Field Gets or sets the field that is rendered when the SPMobileComponent is a field-rendering control.
Public property FieldControlCollection Gets the collection of fields for the list when SPMobileComponent represents a list item.
Public property FieldName This member is reserved for internal use and is not intended to be used directly from your code.
Public property FirstPage (Inherited from MobileControl.)
Public property Font (Inherited from MobileControl.)
Public property ForeColor (Inherited from MobileControl.)
Public property Form (Inherited from MobileControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property InnerText (Inherited from MobileControl.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEllipsisRenderingPageType Gets a value indicating whether the page type is capable of rendering an ellipsis when data is truncated because it exceeds the mobile rendering limit.
Protected property IsEllipsisRenderingText Gets a value that specifies whether the text has exceeded the rendering limits for the mobile site.
Public property IsForm Gets a value that indicates whether the page is a form, rather than a list view page or home page.
Public property IsTemplated (Inherited from MobileControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsView Gets a value that indicates whether the page is a list view, rather than a form or home page.
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Item Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item).
Public property ItemId Gets or sets the ID of object in the Item property.
Public property LastPage (Inherited from MobileControl.)
Public property Linkable Gets or sets a value that indicates whether SPMobileComponent can be a link to another page or form.
Public property List Gets or sets the list that is rendered when SPMobileComponent represents a list.
Public property ListId Gets or sets the ID of the object in the List property.
Public property ListItem Gets or sets the current list item (which is the item that is rendered when SPMobileComponent represents a list item).
Protected property LoadViewStateByID (Inherited from Control.)
Protected property MobileContext Gets an object holding information about the context that is especially relevant to mobile computing, such as the markup language of the mobile device.
Public property MobileDefaultViewUrl Gets or sets the URL for the default mobile view when the SPMobileComponent represents a list.
Public property MobilePage (Inherited from MobileControl.)
Public property NamingContainer (Inherited from Control.)
Protected property NeedEllipsisRendering Gets a value indicating whether the rendering of the component is truncated when the size of the component's text or child components or controls exceeds the rendering limit of the mobile site.
Public property Page (Inherited from Control.)
Public property PageType Gets the type of current page.
Protected property PaginateChildren (Inherited from MobileControl.)
Public property Parent (Inherited from Control.)
Public property RecycleBinEnabled Gets a value that indicates whether the current application allows deleted items to be put into the Recycle Bin instead of deleted entirely.
Protected property RegionalSettings Gets an object holding information about the cultural context.
Protected property SharePointContext Gets an object holding context information about such objects as the current application, site collection, site, list, or list item.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from MobileControl.)
Protected property Style (Inherited from MobileControl.)
Public property StyleReference (Inherited from MobileControl.)
Public property SubControlNumberLimit Gets the rendering limit for the component.
Protected property SubControlNumberLimitKey Gets a key that can be used to look up a mobile rendering limit value for the component.
Public property Template Gets or sets the template that controls rendering of the SPMobileComponent object.
Public property TemplateControl (Inherited from Control.)
Public property TemplateName Gets or sets the ID attribute of a <RenderingTemplate> element that controls the rendering of the SPMobileComponent object.
Public property TemplateSourceDirectory (Inherited from Control.)
Public property TextLengthLimit Specifies the maximum number of characters that can be rendered, for a given text-rendering control, on the mobile site.
Protected property TextLengthLimitKey Specifies the constant defined in the mobile web.config file that is assigned the default rendering limit (the maximum number of characters that can be rendered) for the mobile component.
Public property UniqueID (Inherited from Control.)
Public property View Gets or sets the current view for the SPMobileComponent when it represents a list.
Public property ViewId Gets or sets the GUID of the current view.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property VisibleWeight Gets the approximate weight of the control in characters. (Overrides MobileControl.VisibleWeight.)
Public property Web Gets the current SharePoint site.
Public property Weightless Gets or sets a value indicating whether the control is considered weightless (having zero characters) for purposes of pagination.
Public property Wrapping (Inherited from MobileControl.)

Top

Methods

  Name Description
Protected method AddedControl (Inherited from MobileControl.)
Public method AddLinkedForms (Inherited from MobileControl.)
Protected method AddParsedSubObject (Inherited from MobileControl.)
Protected method AllowApprove Gets a value indicating whether the current user has permission to approve items submitted to the specified list.
Protected method AllowDelete Gets a value indicating whether the current user has permission to delete the specified list item.
Protected method AllowEdit Gets a value indicating whether the current user has permission to edit the specified list item.
Protected method AllowNew Gets a value indicating whether the current user has permission to create new items for the specified list.
Protected method AllowView Gets a value indicating whether the current user has permission to view the specified list item.
Public method ApplyStyleSheetSkin (Inherited from MobileControl.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method CreateChildControls Creates the child controls, if any, of the SPMobileComponent object. (Overrides Control.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
Public method CreateDefaultTemplatedUI (Inherited from MobileControl.)
Protected method CreateStyle (Inherited from MobileControl.)
Protected method CreateTemplatedUI (Inherited from MobileControl.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method EnsureTemplatedUI (Inherited from MobileControl.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetAttribute (Inherited from MobileControl.)
Protected method GetDesignModeState (Inherited from Control.)
Protected method GetEllipsisString Gets a possibly truncated version of the specified String that is no longer than TextLengthLimit (the mobile rendering limit) and that has an ellipsis appended to the end if any characters have been trimmed from it.
Public method GetHashCode (Inherited from Object.)
Protected method GetParentMobileComponent Gets the parent SPMobileComponent object of the specified Control object.
Public method GetTemplate (Inherited from MobileControl.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsFileItem Gets a value indicating whether the SPMobileComponent object is a file in a document library.
Protected method IsFolderItem Gets a value indicating whether the SPMobileComponent object is a folder.
Protected method IsFormSubmitControl (Inherited from MobileControl.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method IsRecurrenceItem Gets a value that indicates whether the SPMobileComponent object is a recurring event on an list of events.
Public method IsVisibleOnPage (Inherited from MobileControl.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadPrivateViewState (Inherited from MobileControl.)
Protected method LoadViewState (Inherited from MobileControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from MobileControl.)
Protected method OnInit (Inherited from MobileControl.)
Protected method OnLoad Represents the method that handles the Load event of a SPMobileComponent. (Overrides MobileControl.OnLoad(EventArgs).)
Protected method OnPageChange (Inherited from MobileControl.)
Protected method OnPreRender (Inherited from MobileControl.)
Protected method OnRender (Inherited from MobileControl.)
Protected method OnUnload (Inherited from MobileControl.)
Protected method OpenFile (Inherited from Control.)
Public method PaginateRecursive (Inherited from MobileControl.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RemovedControl (Inherited from MobileControl.)
Protected method Render (Inherited from MobileControl.)
Public method RenderChildren (Inherited from MobileControl.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveFormReference (Inherited from MobileControl.)
Public method ResolveUrl (Inherited from MobileControl.)
Protected method SaveControlState (Inherited from Control.)
Protected method SavePrivateViewState (Inherited from MobileControl.)
Protected method SaveViewState (Inherited from MobileControl.)
Protected method SetAttribute (Inherited from MobileControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from MobileControl.)

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from MobileControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from MobileControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

SPMobileComponent Class

Microsoft.SharePoint.MobileControls Namespace