Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether a menu item is displayed.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Visible As Boolean
Get
Set
'Usage
Dim instance As MenuItem
Dim value As Boolean
value = instance.Visible
instance.Visible = value
public bool Visible { get; set; }
Property Value
Type: System.Boolean
true if the menu item is visible on the menu; otherwise, false. The default is true.