Share via


SPMobileLabel Class

Renders the label control whose visible weight can be configured.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      System.Web.UI.MobileControls.TextControl
        System.Web.UI.MobileControls.Label
          Microsoft.SharePoint.MobileControls.SPMobileLabel
            SPMobileGroupBoardDateTimeLabel
            Microsoft.SharePoint.WebPartPages.WebPartMobilePageTitle

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

Syntax

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

Remarks

The weight is set with the mobile_paginationweight key in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\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.

See Also

Reference

SPMobileLabel Members

Microsoft.SharePoint.MobileControls Namespace