다음을 통해 공유


ConsoleNode.HideIfDisabled Property

Gets or sets whether this ConsoleNode object should be hidden from view when it is disabled.

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

Syntax

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

value = instance.HideIfDisabled

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

Property Value

Type: System.Boolean
A Boolean value representing whether this ConsoleNode should be hidden if it is disabled.

Remarks

Some actions are best hidden any time they are disabled, although the default is to show disabled actions. Setting this property to true hides the action when it is disabled due to the current context.

See Also

Reference

ConsoleNode Class

ConsoleNode Members

Microsoft.SharePoint.Publishing.WebControls Namespace