This documentation is archived and is not being maintained.

WebZone::GetEffectiveChromeType Method

Returns the actual or effective current PartChromeType value of a WebPart control, given the PartChromeType property of the zone and the current display mode of the Web Parts page.

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

public:
virtual PartChromeType GetEffectiveChromeType(
	Part^ part
)

Parameters

part
Type: System.Web.UI.WebControls.WebParts::Part
A part control within the current zone.

Return Value

Type: System.Web.UI.WebControls.WebParts::PartChromeType
A PartChromeType value that contains the kind of border that currently frames Web Parts controls contained by a zone.

ExceptionCondition
ArgumentNullException

part is nullptr.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: