共用方式為


SPMobileComponent.Weightless Property

Gets or sets a value indicating whether the control is considered weightless (having zero characters) for purposes of pagination.

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

Syntax

'Declaration
Public Overridable Property Weightless As Boolean
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As Boolean

value = instance.Weightless

instance.Weightless = value
public virtual bool Weightless { get; set; }

Property Value

Type: System.Boolean
true if the control is considered weightless; otherwise, false. The default is false.

Remarks

Setting Weightless to true means that the whole of the SPMobileComponent object and its child controls is kept together on a single page

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace