Partager via


Menu.PermissionTrimButton property

Gets or sets a value that indicates whether the menu link will be trimmed based on permission.

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

Syntax

'Declaration
Public Property PermissionTrimButton As Boolean
    Get
    Set
'Usage
Dim instance As Menu
Dim value As Boolean

value = instance.PermissionTrimButton

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

Property value

Type: System.Boolean
true if the menu link is trimmed; otherwise, false.

See also

Reference

Menu class

Menu members

Microsoft.SharePoint.WebControls namespace