Partilhar 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)
Available in Sandboxed Solutions: No

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