System.Web.UI.WebControls.WebParts.PartChromeType Enumeration

Specifies the kind of border that surrounds a Web Parts control.

Syntax

public enum PartChromeType

Remarks

A part control's System.Web.UI.WebControls.WebParts.PartChromeType enumeration determines what kind of border surrounds a Web Parts control. Options include showing a title bar only, a border only, a title bar and border, or neither.

If the enumeration value is set to PartChromeType.Default on the Part.ChromeType property of a part control, the control inherits its setting from the WebZone.PartChromeType property of the zone that contains the control.

Members

Member NameDescription
BorderOnly

A border only, without a title bar.

Default

A border setting inherited from the part control's containing zone.

None

No border and no title bar.

TitleAndBorder

A title bar and a border.

TitleOnly

A title bar only, without a border.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0