Share via


ConsoleVisibilityContainer.ShowOnNonPublished property

Gets or sets whether this container is displayed when the current page is not a published version.

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

Syntax

'Declaration
Public Property ShowOnNonPublished As Boolean
    Get
    Set
'Usage
Dim instance As ConsoleVisibilityContainer
Dim value As Boolean

value = instance.ShowOnNonPublished

instance.ShowOnNonPublished = value
public bool ShowOnNonPublished { get; set; }

Property value

Type: System.Boolean

Remarks

When set to true, this container is shown if the current page is not a published version.

See also

Reference

ConsoleVisibilityContainer class

ConsoleVisibilityContainer members

Microsoft.SharePoint.Publishing.WebControls namespace