Bearbeiten

Freigeben über


WebZone.PartChromePadding Property

Definition

Gets or sets the distance between the contents of a WebPart control and the border of the control.

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

Property Value

A Unit object that indicates the type of measurement and the amount of padding. The default padding for a zone is 5 pixels.

Exceptions

The value assigned to the property is a negative number.

Remarks

Use this property to define a standard padding amount between the content of each control and its border for all controls contained in a zone.

Applies to