Share via


ConsoleDataSource.HideDisabledItems Property

Gets or sets whether disabled menu items are included in the data source.

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

Syntax

'Declaration
Public Property HideDisabledItems As Boolean
    Get
    Set
'Usage
Dim instance As ConsoleDataSource
Dim value As Boolean

value = instance.HideDisabledItems

instance.HideDisabledItems = value
public bool HideDisabledItems { get; set; }

Property Value

Type: System.Boolean
If true, disabled menu items are not included in the data source and are hidden; otherwise, false. The default is false.

See Also

Reference

ConsoleDataSource Class

ConsoleDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace