Share via


ToolBarMenuButton.Visible property

Override Visible to consider child controls Note: avoid calling HasVisibleButtonItem recursively when child controls call parent control Visible during the check of child control Visible.

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 ToolBarMenuButton
Dim value As Boolean

value = instance.Visible

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

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

ToolBarMenuButton class

ToolBarMenuButton members

Microsoft.SharePoint.WebControls namespace