Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.PartOrder property

NOTE: This API is now obsolete.

Gets or sets the order in which the Web Part appears within a Web Part zone.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[WebPartStorageAttribute(Storage = Storage.Personal)]
[ObsoleteAttribute("Use ZoneIndex instead.")]
public int PartOrder { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the order for the Web Part within a WebPartZone control.

Lower order number values for the PartOrder property are placed at the top or to the left within a Web Part zone (depending on the orientation of the zone). If two Web Parts within the same zone have the same PartOrder value, the resulting order between the two parts is undefined.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.