Compartilhar via


SPMobileListTitle De classe

Specifies the ID of the <RenderingTemplate> that is used when rendering the header area of a mobile page or form other than the home page.

Espaço para nome Microsoft.SharePoint.MobileControls
Conjunto de Módulos (Assembly) Microsoft.SharePoint (em microsoft.sharepoint.dll)

A sintaxe

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public NotInheritable Class SPMobileListTitle
    Inherits SPMobileListTemplateSelector
Dim instance As SPMobileListTitle
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public sealed class SPMobileListTitle : SPMobileListTemplateSelector

Comentários

Para um visão geral da função dessa classe no sistema de processamento página para dispositivos móveis, consulte Página móvel de processamento do sistema.

Fazer não chamar SPMobileListTitle na sua codificar.Ele está documentado para fornecer ainda mais compreensão da Web como móvel páginas são processadas e como o processamento pode ser personalizado.

The <RenderingTemplate> ID takes the following form.

Mobile_ListTemplateID_PageType_Title

The "Mobile" is a prefix that indicates that the <RenderingTemplate> is for mobile Web sites.

The "Title" indicates that <RenderingTemplate> should apply to the header part of the page.

O PageType é o tipo de página, such as NewForm ou modo de exibição.Ele nunca é homepage.Para o processamento da área de título de home pages, Windows SharePoint Services 3.0 SPMobileWebTitle usa.

The ListTemplateID is either the integer value of the Type attribute for the Colaboração Application Markup Language (CAML) <Elemento ListTemplate (modelo de lista)> element or the value of the Name attribute.Por exemplo, o valor tipo para o modelo lista de avisos é 104.Portanto, o objeto SPMobileListTitle T:Microsoft.SharePoint.MobileControls.SPMobileListTitle para uma página exibição de lista anúncios em um site móvel é o seguinte.

Mobile_104_View_Title

Como alternativa, ele poderia ser o seguinte.

Mobile_Announcements_View_Title

As it happens, when Windows SharePoint Services 3.0 is installed, there is initially no defined <RenderingTemplate> (for mobile page headers) for any specific list type, not even the built-in types.All pages use the Mobile_Default_PageType_Title <RenderingTemplate>.For example, as the following excerpt from the MobileDefaultTemplates.ascx file (in C:\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES) shows, when the page type is View, the Mobile_Default_View_Title <RenderingTemplate> is used regardless of the Web site type.(O modelo Mobile_Default_View_Title chama SPMobileListTitleControl para processar um título.)

<SharePoint:RenderingTemplate RunAt="Server" ID="MobileViewTitle">
  <Template>
    <SPMobile:SPMobileListTitle RunAt="Server" />
  </Template>
</SharePoint:RenderingTemplate>
<SharePoint:RenderingTemplate RunAt="Server" 
  ID="Mobile_Default_View_Title">
  <Template>
    <SPMobile:SPMobileListTitleControl RunAt="Server" />
  </Template>
</SharePoint:RenderingTemplate>

Fazer não alteração MobileDefaultTemplates.ascx.To customize the rendering of the header for a particular page type (other than the home page or a custom page) of a particular Web site type, create a custom .aspx file in the ...\CONTROLTEMPLATES folder that contains a <RenderingTemplate> with the name Mobile_ListTemplateID_PageType_Title.Specify the ID (or Name) of a <Elemento ListTemplate (modelo de lista)> in place of ListTemplateID.Também especificar uma determinada PageType .O segundo deve ser o seguinte: "DeletePage", "DispForm", "EditForm", "NewForm," ou "View".Your custom <RenderingTemplate> then calls an alternative to SPMobileListTitleControl to render the header.

The runtime automatically gives preference to your custom <RenderingTemplate> over the Mobile_Default_PageType_Title <RenderingTemplate> in MobileDefaultTemplates.ascx.

Para obter mais informações sobre personalização títulos página da Web de interno Windows SharePoint Services 3.0 página tipos diferentes de home pages, consulte Walkthrough: Personalizar uma página de exibição de lista móvel.

Para processamento de título em personalizado tipos página, consulte SPMobilePageTitle.

Hierarquia de herança

System.Object
   System.Web.UI.Control
     System.Web.UI.MobileControls.MobileControl
       Microsoft.SharePoint.MobileControls.SPMobileComponent
         Microsoft.SharePoint.MobileControls.SPMobileTemplateSelector
           Microsoft.SharePoint.MobileControls.SPMobileListTemplateSelector
            Microsoft.SharePoint.MobileControls.SPMobileListTitle

Segmento de segurança

Qualquer público estático ( compartilhadas Na Visual Basic) os membros desse tipo são segmento seguro. Os membros de instância não são garantia ser segmento seguro.

Consulte também

Tarefas

Walkthrough: Personalizar uma página de exibição de lista móvel

Referência

SPMobileListTitle Membros
Microsoft.SharePoint.MobileControls De espaço para nome
SPMoblePageTitle

Conceitos

Página móvel de processamento do sistema