WebPartZoneBase.GetEffectiveChromeType(Part) 方法

定义

给定该区域的 PartChromeType 属性以及 Web 部件页的当前显示模式,则返回 WebPart 控件实际或有效的当前 PartChromeType 值。Returns the actual or effective current PartChromeType value of a WebPart control, given the PartChromeType property of the zone and the current display mode of the Web Parts page.

public:
 override System::Web::UI::WebControls::WebParts::PartChromeType GetEffectiveChromeType(System::Web::UI::WebControls::WebParts::Part ^ part);
public override System.Web.UI.WebControls.WebParts.PartChromeType GetEffectiveChromeType (System.Web.UI.WebControls.WebParts.Part part);
override this.GetEffectiveChromeType : System.Web.UI.WebControls.WebParts.Part -> System.Web.UI.WebControls.WebParts.PartChromeType
Public Overrides Function GetEffectiveChromeType (part As Part) As PartChromeType

参数

part
Part

区域需要为其检索当前 ChromeType 设置的 Part 控件。A Part control for which the zone needs to retrieve the current ChromeType setting.

返回

PartChromeType

一个包含某种边框的 PartChromeType 值,这种边框将一个区域包含的 Web 部件控件框于其内。A PartChromeType value that contains the kind of border that currently frames Web Parts controls contained by a zone.

适用于

另请参阅