WebPartZoneBase.GetEffectiveChromeType Method (Part)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override PartChromeType GetEffectiveChromeType(
	Part part


Type: System.Web.UI.WebControls.WebParts.Part

A Part control for which the zone needs to retrieve the current ChromeType setting.

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.

.NET Framework
Available since 2.0
Return to top