Partager via


Menu.Visible property

Gets or sets a value that indicates whether the menu control is rendered as UI on the page.

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

Syntax

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

value = instance.Visible

instance.Visible = value
public override bool Visible { get; set; }

Property value

Type: System.Boolean
true if the control is visible on the page; otherwise false.

See also

Reference

Menu class

Menu members

Microsoft.SharePoint.WebControls namespace