Partilhar via


SPMobileLabel.VisibleWeight Property

Gets the approximate weight of the Label control, in characters.

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

Syntax

'Declaration
Public Overrides ReadOnly Property VisibleWeight As Integer
    Get
'Usage
Dim instance As SPMobileLabel
Dim value As Integer

value = instance.VisibleWeight
public override int VisibleWeight { get; }

Property Value

Type: System.Int32
The Int32 object that represents the approximate weight of the Label control, in characters.

Remarks

If Weightless is true, 0 is returned.

The weight is set with the mobile_paginationweight key in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\web.config.

See Also

Reference

SPMobileLabel Class

SPMobileLabel Members

Microsoft.SharePoint.MobileControls Namespace