SPField.ListItemMenu Property

Indicates whether the field should show the drop down menu when displayed in an XsltListView.

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

Syntax

'Declaration
Public Property ListItemMenu As Boolean
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.ListItemMenu

instance.ListItemMenu = value
public bool ListItemMenu { get; set; }

Property Value

Type: System.Boolean
A Boolean value = true if the field should show the drop down menu. If ListItemMenuAllowed is set to Prohibited this returns false. If ListItemMenuAllowed is set to Required then this returns true.

Remarks

This value can only be set if ListItemMenuAllowed is set to Allowed.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace