WebZone.GetEffectiveChromeType Method

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

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
)
public PartChromeType GetEffectiveChromeType (
	Part part
)
public function GetEffectiveChromeType (
	part : Part
) : PartChromeType

Parameters

part

A part control within the current zone.

Return Value

A PartChromeType value that contains the kind of border that currently frames Web Parts controls contained by a zone.

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: