SPMobileChoiceField.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)


Protected Overrides Function CreateControlForDisplay As MobileControl

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.


If the field is a multichoice field, only the chosen option up to DisplaySelectionNumberLimit is displayed. Also, any given option is truncated if it exceeds OptionTextLengthLimit.

See Also


SPMobileChoiceField Class

SPMobileChoiceField Members

Microsoft.SharePoint.MobileControls Namespace