Share via


SP.WebParts.WebPart.hidden Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

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

var value = SP.WebParts.WebPart.get_hidden(); 
SP.WebParts.WebPart.set_hidden(value);

Property Value

Type: Boolean

Applies To

SP.WebParts.WebPart Class

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

SP.WebParts.WebPart Methods

SP.WebParts.WebPart Properties

SP.WebParts Namespace