다음을 통해 공유


SPField.ListItemMenu property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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
true, if the link is visible; false, otherwise.

Remarks

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

If ListItemMenuAllowed is set to Prohibited, ListItemMenu is always false. If ListItemMenuAllowed is set to Required, ListItemMenu is always true.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace