Share via


ConsoleAction.RequiredStates Property

Determines whether this ConsoleAction object should be enabled in the current context.

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

Syntax

'Declaration
Public Overridable ReadOnly Property RequiredStates As AuthoringStates
    Get
'Usage
Dim instance As ConsoleAction
Dim value As AuthoringStates

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

Property Value

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

Remarks

When this T:Microsoft.SharePoint.Publishing.WebControls.ConsoleAction object appears in the user interface, the value of this property determines whether the action is enabled or disabled.

See Also

Reference

ConsoleAction Class

ConsoleAction Members

Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions Namespace

UserRights

IsCurrentlyEnabled