SPMobileImage.VisibleWeight Property

Gets the approximate weight of the Image 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 SPMobileImage
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 the Weightless property 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

SPMobileImage Class

SPMobileImage Members

Microsoft.SharePoint.MobileControls Namespace