Condividi tramite


SPField.FieldRenderingControl Property

Gets the field type control that is used to render the field in Display, Edit, and New forms, as well as in data form Web Parts or pages that use field controls.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Overridable ReadOnly Property FieldRenderingControl As BaseFieldControl
    Get
'Usage
Dim instance As SPField
Dim value As BaseFieldControl

value = instance.FieldRenderingControl
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public virtual BaseFieldControl FieldRenderingControl { get; }

Property Value

Type: Microsoft.SharePoint.WebControls.BaseFieldControl
A Microsoft.SharePoint.WebControls.BaseFieldControl object that represents the control.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace