Share via


SPMobileBaseFieldControl.CreateControlForView Method

Creates a control for rendering the field on a list view page.

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

Syntax

Protected Overridable Function CreateControlForView As MobileControl

Dim returnValue As MobileControl

returnValue = Me.CreateControlForView()
protected virtual MobileControl CreateControlForView()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl that renders the field on a list view page.

Remarks

The default implementation calls either CreateControlAsLink or CreateControlAsLabel, depending on whether NeedLinkRendering is true.

See Also

Reference

SPMobileBaseFieldControl Class

SPMobileBaseFieldControl Members

Microsoft.SharePoint.MobileControls Namespace