WebZone.PartChromeType 属性

定义

获取或设置构成区域所包含的 Web 部件控件的框架的边框类型。Gets or sets the type of border that frames Web Parts controls contained by a zone.

public:
 virtual property System::Web::UI::WebControls::WebParts::PartChromeType PartChromeType { System::Web::UI::WebControls::WebParts::PartChromeType get(); void set(System::Web::UI::WebControls::WebParts::PartChromeType value); };
public virtual System.Web.UI.WebControls.WebParts.PartChromeType PartChromeType { get; set; }
member this.PartChromeType : System.Web.UI.WebControls.WebParts.PartChromeType with get, set
Public Overridable Property PartChromeType As PartChromeType

属性值

PartChromeType

PartChromeType,确定构成区域所包含的 Web 部件控件的框架的边框类型。A PartChromeType that determines the type of border that frames Web Parts controls contained by a zone.

例外

该值不是 PartChromeType 值之一。The value is not one of the PartChromeType values.

注解

PartChromeType属性的作用类似于区域中 Web 部件控件的默认属性。The PartChromeType property acts like a default property for the Web Parts controls in a zone. 如果 Web 部件控件设置了其 ChromeType 属性,则该属性在运行时将重写该属性的效果 PartChromeTypeIf a Web Parts control has its ChromeType property set, that property overrides the effect of the PartChromeType property at run time. 如果 ChromeType 未设置控件的属性,或将设置为,则 Default 属性的值将 PartChromeType 确定控件的边框类型。If the control's ChromeType property is not set, or is set to Default, the value of the PartChromeType property determines what kind of border the control has.

适用于

另请参阅