Share via


SP.WebParts.WebPart.zoneIndex Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the index position of a Web Part within the Web Part zone.

var value = SP.WebParts.WebPart.get_zoneIndex(); 

Property Value

Type: Int32

Applies To

SP.WebParts.WebPart Class

Remarks

The value is the numerical order of a Web Part within the Web Part zone. The first Web Part in a Web Part zone must have an index value of zero.

See Also

Reference

SP.WebParts.WebPart Methods

SP.WebParts.WebPart Properties

SP.WebParts Namespace