Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPField.ListItemMenuState Enumeration
Collapse the table of content
Expand the table of content

SPField.ListItemMenuState Enumeration

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 nameDescription
Allowed Allowed (integer value = 0) means the item can have the menu/link optionally shown.
RequiredRequired (integer value = 1) means that the item must show the menu/link.
ProhibitedProhibited (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.

Show:
© 2015 Microsoft