SPField.LinkToItemAllowed Property

Represents whether or not the LinkToItem must be shown, must be hidden, or can be turned on/off via the LinkToItem setting.

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

public SPField.ListItemMenuState LinkToItemAllowed { get; set; }
Show: