Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPField.LinkToItem property

Gets or sets an indication of whether the field should show a link to the list item's display form when displayed in a list view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public bool LinkToItem { get; set; }

Property value

Type: System.Boolean
true, if the link is visible; false, otherwise.

Attempts to set this property are ignored if LinkToItemAllowed is not set to Allowed.

If LinkToItemAllowed is set to ProhibitedLinkToItem is always false. If LinkToItemAllowed is set to RequiredLinkToItem, is always true.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.