Bewerken

Delen via


WebZone.PartChromeType Property

Definition

Gets or sets the type of border that frames Web Parts controls contained by a zone.

public:
 virtual property System::Web::UI::WebControls::WebParts::PartChromeType PartChromeType { System::Web::UI::WebControls::WebParts::PartChromeType get(); void set(System::Web::UI::WebControls::WebParts::PartChromeType value); };
public virtual System.Web.UI.WebControls.WebParts.PartChromeType PartChromeType { get; set; }
member this.PartChromeType : System.Web.UI.WebControls.WebParts.PartChromeType with get, set
Public Overridable Property PartChromeType As PartChromeType

Property Value

A PartChromeType that determines the type of border that frames Web Parts controls contained by a zone.

Exceptions

The value is not one of the PartChromeType values.

Remarks

The PartChromeType property acts like a default property for the Web Parts controls in a zone. If a Web Parts control has its ChromeType property set, that property overrides the effect of the PartChromeType property at run time. If the control's ChromeType property is not set, or is set to Default, the value of the PartChromeType property determines what kind of border the control has.

Applies to

See also