共用方式為


WebPartZone.FrameType property

NOTE: This API is now obsolete.

取得或設定 Web 組件WebPartZone控制項中包含框架的預設樣式。

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

Syntax

'宣告
<ObsoleteAttribute("Use PartChromeType instead.")> _
Public Property FrameType As FrameType
    Get
    Set
'用途
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
FrameType 列舉型別值。

備註

Web 組件有他們的FrameType屬性設定為 「 預設 」 以外的值會覆寫此值。使用這個屬性值的 「 預設 」 將會導致包含的 Web 組件被設定為 [標準] 的 [ FrameType ] 屬性。

請參閱

參照

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace