Export (0) Print
Expand All

WebZone.PartChromeType Property

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

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public virtual PartChromeType PartChromeType { get; set; }

Property Value

Type: System.Web.UI.WebControls.WebParts.PartChromeType
A PartChromeType that determines the type of border that frames Web Parts controls contained by a zone.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft