Share via


ConsoleNode.Enabled property

Gets or sets whether the ConsoleNode object should be enabled for the user.

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

Syntax

'Declaration
Public Overridable Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public virtual bool Enabled { get; set; }

Property value

Type: System.Boolean
A Boolean value representing whether this ConsoleNode should be enabled or disabled for the current user.

Remarks

You should not set this property directly. Whether the node is enabled is determined dynamically by the ConsoleDataSource object when it is evaluating the current context.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace