Compartilhar via


SPMobileLabel class

Processa o controle de label cujo peso visível pode ser configurado.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.Literal
      Microsoft.SharePoint.Mobile.Controls.TextViewBase
        Microsoft.SharePoint.Mobile.Controls.Label
          Microsoft.SharePoint.Mobile.WebControls.SPMobileLabel
            Microsoft.SharePoint.WebPartPages.WebPartMobileWebPageTitle

Namespace:  Microsoft.SharePoint.Mobile.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileLabel _
    Inherits Label
'Uso
Dim instance As SPMobileLabel
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileLabel : Label

Comentários

O peso é definido com a chave mobile_paginationweight em %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS\MOBILE\web.config.

Thread safety

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

Ver também

Referência

SPMobileLabel members

Microsoft.SharePoint.Mobile.WebControls namespace