Compartilhar via


ConsoleAction.RequiredStates Property

Gets an object that represents the authoring states required for this ConsoleAction object to 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 ConsoleAction object to be available.

Remarks

When this 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