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