This topic has not yet been rated - Rate this topic

SPField.LinkToItem Property

SharePoint 2010

Indicates whether the field should show the link to the display form when displayed in an [XsltListView]. This value can only be set if this object’s LinkToItemAllowed is set to Allowed.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public bool LinkToItem { get; set; }

Property Value

Type: System.Boolean
A Boolean indicating field display status. If this object’s LinkToItemAllowed is set to Prohibited then this value is always false. If this object’s LinkToItemAllowed is set to Required then this value is always true.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ