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)
Available in Sandboxed Solutions: No
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.