Share via


SPMobileModStatField.CreateControlForDisplay Method

Creates a child Label control that renders the current value of the field on a Display page, subject to rendering limits.

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

Syntax

'Declaration
Protected Overrides Function CreateControlForDisplay As MobileControl
'Usage
Dim returnValue As MobileControl

returnValue = Me.CreateControlForDisplay()
protected override MobileControl CreateControlForDisplay()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl (specifically, a Label) that renders the current value of the field.

Remarks

This override simply calls CreateControlForView.

See Also

Reference

SPMobileModStatField Class

SPMobileModStatField Members

Microsoft.SharePoint.MobileControls Namespace