WebZone::PartChromeType Property
.NET Framework (current version)
Gets or sets the type of border that frames Web Parts controls contained by a zone.
Assembly: System.Web (in System.Web.dll)
public: property PartChromeType PartChromeType { virtual PartChromeType get(); virtual void set(PartChromeType value); }
Property Value
Type: System.Web.UI.WebControls.WebParts::PartChromeTypeA PartChromeType that determines the type of border that frames Web Parts controls contained by a zone.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is not one of the PartChromeType values. |
The PartChromeType property acts like a default property for the Web Parts controls in a zone. If a Web Parts control has its ChromeType property set, that property overrides the effect of the PartChromeType property at run time. 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: