WebZone.GetEffectiveChromeType Method (Part)


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


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.

Exception Condition

part is null.

.NET Framework
Available since 2.0
Return to top