Export (0) Print
Expand All

SPMobilePostsListTitle Class

Specifies the ID of the <RenderingTemplate> that is used when rendering the header area of a list of posts on a mobile web site.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobilePostsListTitle : SPMobileListTemplateSelector

For an overview of the role of this class in the page rendering system for mobile devices, see Mobile Page Rendering System.

The ID is the value of the DefaultTemplateName property and is one of the following two values:

Moblog_AllPosts_Title
Moblog_MyPosts_Title

The ID is the first value when the view type of the current context is AllPosts; that is, show all posts. The ID is the second value when the view type is MyPosts; that is, show only the posts of the current user.

The "Moblog" is the value of the DefaultPrefix property, and it indicates that the <RenderingTemplate> is for mobile blog sites. The "Title" indicates that <RenderingTemplate> applies to the header part of the page.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft