SPField.LinkToItemAllowed property

Gets or sets an indication of whether the field, in List View, can show a link to the list item's display form.

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

public SPField.ListItemMenuState LinkToItemAllowed { get; set; }

Property value

Type: Microsoft.SharePoint.SPField.ListItemMenuState
An indication of the visibility possibilities of the link to the display form. The default is Allowed.

If the list or column is external, this property is always Allowed.