Edit

Share via


WebZone.PartChromePadding Property

Definition

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

public System.Web.UI.WebControls.Unit PartChromePadding { get; set; }

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