WebPartZone.FrameType Property

NOTE: This API is now obsolete.

Gets or sets the default style of the frame for Web Parts contained within the WebPartZone control.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.FrameType

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

Property Value

Type: Microsoft.SharePoint.WebPartPages.FrameType
A FrameType enumeration value.

Remarks

Web Parts that have their FrameType property set to a value other than "Default" will override this value. Using the value "Default" for this property will result in the FrameType property of contained Web Parts being set to "Standard".

See Also

Reference

WebPartZone Class

WebPartZone Members

Microsoft.SharePoint.WebPartPages Namespace