Share via


WebPartZone.Orientation property

NOTE: This API is now obsolete.

Gets or sets which direction Web Parts will be placed in the zone.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use LayoutOrientation instead.")> _
Public Property Orientation As Orientation
    Get
    Set
'Usage
Dim instance As WebPartZone
Dim value As Orientation

value = instance.Orientation

instance.Orientation = value
[ObsoleteAttribute("Use LayoutOrientation instead.")]
public Orientation Orientation { get; set; }

Property value

Type: Microsoft.SharePoint.WebPartPages.Orientation
An Orientation enumeration.

See also

Reference

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace