SPField.ListItemMenuAllowed Property

Indicates whether or not the ListItemMenu must be shown, must be hidden, or can be turned on or off via the ListItemMenu setting.

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

Syntax

'Declaration
Public Property ListItemMenuAllowed As SPField.ListItemMenuState
    Get
    Set
'Usage
Dim instance As SPField
Dim value As SPField.ListItemMenuState

value = instance.ListItemMenuAllowed

instance.ListItemMenuAllowed = value
public SPField.ListItemMenuState ListItemMenuAllowed { get; set; }

Property Value

Type: Microsoft.SharePoint.SPField.ListItemMenuState
A SPField.ListItemMenuState object. Possible values include Allowed, Required, or Prohibited.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace