SPMobileBaseFieldControl.CreateControlAsLabel Method

Creates a label control that has the value of the field as its text.

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

protected virtual MobileControl CreateControlAsLabel()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the value of the field as a label control.

Typically, CreateControlAsLabel would be called by CreateControlForDisplay or CreateControlForView.