This documentation is archived and is not being maintained.

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 */
public PartChromeType get_PartChromeType ()

/** @property */
public void set_PartChromeType (PartChromeType value)

public function get PartChromeType () : PartChromeType

public function set PartChromeType (value : PartChromeType)

Not applicable.

Property Value

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

Exception typeCondition


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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0