ConsoleNode.HideStates Property
Gets or sets the states for which this ConsoleNode object should be hidden.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overridable Property HideStates As List(Of AuthoringStates)
Get
Set
'Usage
Dim instance As ConsoleNode
Dim value As List(Of AuthoringStates)
value = instance.HideStates
instance.HideStates = value
public virtual List<AuthoringStates> HideStates { get; set; }
Property Value
Type: System.Collections.Generic.List<AuthoringStates>
An AuthoringStates object value representing what states should be set to true for this action to be hidden.
Remarks
In some ConsoleDataSource objects, disabled ConsoleNode objects are displayed in the user interface by default. In specific instances, a ConsoleNode should be hidden instead of disabled. For example, when the page is checked out, CheckOutAction can be hidden because it will never be enabled in that context.