WebZone.PartChromeType Property

Note: This property is new in the .NET Framework version 2.0.

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 property PartChromeType PartChromeType {
	PartChromeType get ();
	void set (PartChromeType value);
}
/** @property */
public PartChromeType get_PartChromeType ()

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

public function get PartChromeType () : PartChromeType

public function set PartChromeType (value : PartChromeType)

Property Value

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

Exception typeCondition

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 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: