WebPart.Hidden Property

Gets or sets a value that specifies whether a Web Part is displayed on a Web Part Page.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Hidden As Boolean
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As Boolean

value = instance.Hidden

instance.Hidden = value
[RemoteAttribute]
public bool Hidden { get; set; }

Property Value

Type: System.Boolean
Returns Booleantrue if a Web Part is displayed on a Web Part Page; otherwise, returns false.

Remarks

If true, the Web Part must be hidden. Web Parts that are hidden must not be displayed on the page to the end user, but should still participate normally in the rendering of the page. The default value is false.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.Client.WebParts Namespace