SPField.ShowInDisplayForm Property

Gets or sets a Boolean value that specifies whether the field is displayed in the form for displaying list items.

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

Syntax

'Declaration
Public Property ShowInDisplayForm As Nullable(Of Boolean)
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Nullable(Of Boolean)

value = instance.ShowInDisplayForm

instance.ShowInDisplayForm = value
public Nullable<bool> ShowInDisplayForm { get; set; }

Property Value

Type: System.Nullable<Boolean>
true to specify that the field is displayed in the form that is used to display list items; otherwise, false.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace