WebZone.PartChromeType Property

Definition

Gets or sets the type of border that frames Web Parts controls contained by a zone.

C#
public virtual System.Web.UI.WebControls.WebParts.PartChromeType PartChromeType { get; set; }

Property Value

A PartChromeType that determines the type of border that frames Web Parts controls contained by a zone.

Exceptions

The value is not one of the PartChromeType values.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also