SPMobileLink.VisibleWeight Property

Gets the approximate weight of the 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 SPMobileLink
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 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

SPMobileLink Class

SPMobileLink Members

Microsoft.SharePoint.MobileControls Namespace