ערוך

שתף באמצעות


WebPart.ChromeType Property

Definition

Gets or sets the type of border that frames a Web Parts control.

public:
 virtual property System::Web::UI::WebControls::WebParts::PartChromeType ChromeType { System::Web::UI::WebControls::WebParts::PartChromeType get(); void set(System::Web::UI::WebControls::WebParts::PartChromeType value); };
[System.Web.UI.WebControls.WebParts.Personalizable]
public override System.Web.UI.WebControls.WebParts.PartChromeType ChromeType { get; set; }
[<System.Web.UI.WebControls.WebParts.Personalizable>]
member this.ChromeType : System.Web.UI.WebControls.WebParts.PartChromeType with get, set
Public Overrides Property ChromeType As PartChromeType

Property Value

One of the PartChromeType values. The default is Default.

Attributes

Exceptions

The value is not one of the PartChromeType values.

Remarks

A part control's WebPartManager property determines what kind of border surrounds the control. Options include showing a title only, a border only, a title and border, neither, or the default option, which simply uses the value of the PartChromeType property.

The WebPart class overrides the base property so that end users can personalize it.

For a code example that uses this property, see the base ChromeType property.

Applies to

See also