Menu.DisabledMenuItems Property

Gets a generic collection object that contains references to the MenuItemTemplate controls that should be disabled on this menu.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property DisabledMenuItems As Collection(Of MenuItemTemplate)
    Get
'Usage
Dim instance As Menu
Dim value As Collection(Of MenuItemTemplate)

value = instance.DisabledMenuItems
public Collection<MenuItemTemplate> DisabledMenuItems { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<MenuItemTemplate>
A collection of references.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace