Compartilhar via


ConsoleVisibilityContainer.ShowOnUserPreference Property

Gets or sets whether this container is displayed when the user chooses to see optional controls.

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

Syntax

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

value = instance.ShowOnUserPreference

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

Property Value

Type: System.Boolean

Remarks

When set to true, this container is shown if a user chooses to see optional controls.

See Also

Reference

ConsoleVisibilityContainer Class

ConsoleVisibilityContainer Members

Microsoft.SharePoint.Publishing.WebControls Namespace