ConsoleNode.RequiredStates Property

Gets or sets the states required to enable this ConsoleNode object in the current context.

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

Syntax

'Declaration
Public Overridable Property RequiredStates As AuthoringStates
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As AuthoringStates

value = instance.RequiredStates

instance.RequiredStates = value
public virtual AuthoringStates RequiredStates { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.AuthoringStates
The states required for this action to be available.

Remarks

When this ConsoleNode appears in the user interface, this value determines whether the action is enabled or disabled.

This value overrides that of a referenced ConsoleAction when the UseActionStatesMask property is set to false.

See Also

Reference

ConsoleNode Class

ConsoleNode Members

Microsoft.SharePoint.Publishing.WebControls Namespace

AuthoringStates