Op Englesch liesen Editéieren

Deelen iwwer


WebZone.PartChromePadding Property

Definition

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

C#
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

Produkt Versiounen
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1