Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 SPMobileControlContainer
Dim value As Integer
value = instance.VisibleWeight
public override int VisibleWeight { get; }
Property Value
Type: System.Int32
An Int32 that represents the weight of the control measured in characters.
Remarks
In SharePoint Foundation this property always returns either 0 or the value of the "mobile_paginationweight" key in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\MOBILE\web.config file. Consult that file to see its value.
VisibleWeight is the value of the "mobile_paginationweight" unless the control is Weightless or the SPContext is a null reference (Nothing in Visual Basic).
For more information, see VisibleWeight and Pagination Support.
See Also
Reference
SPMobileControlContainer Class
SPMobileControlContainer Members
Microsoft.SharePoint.MobileControls Namespace
VisibleWeight