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; }
<asp:WebZone PartChromeType="PartChromeType" />

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.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft