This topic has not yet been rated - Rate this topic

SPField.ListItemMenuState Enumeration

SharePoint 2010

Represents whether the item can have the menu/link optionally shown, must show the menu/link, or cannot show the menu/link.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public enum ListItemMenuState
Member name Description
Allowed Allowed (integer value = 0) means the item can have the menu/link optionally shown.
Required Required (integer value = 1) means that the item must show the menu/link.
Prohibited Prohibited (integer value = 2) means that the item cannot have menu/link shown.

The SPField.ListItemMenuState enumerator members are Allowed = 0, Required = 1, and Prohibited = 2.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ