SP.WebParts.WebPartDefinition.webPart Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

The WebPart object represents a Web Part on a Web Part Page associated with this WebPartDefinition.

var value = SP.WebParts.WebPartDefinition.get_webPart();

Property Value

Type: SP.WebParts.WebPart

Applies To

SP.WebParts.WebPartDefinition Class

Remarks

The WebPart object contains additional properties relating to the Web Part represented by this WebPartDefinition object. Each WebPartDefinition object must have exactly one WebPart object associated with it. There can be multiple WebPartDefinition objects with the same value for their WebPart property. Provides operations for moving, deleting, and changing the state of the Web Part.

See Also

Reference

SP.WebParts.WebPartDefinition Methods

SP.WebParts.WebPartDefinition Properties

SP.WebParts Namespace