Skip to main content
A newer version of this page is available. .
Tab

Paddings.Padding Property

Gets or sets the common padding value for all the four edges.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Unit), "")]
public Unit Padding { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit that represents the padding value.

Remarks

Use the Padding property to specify the amount of internal space between the body of a rectangular UI element and its edges (borders).

The padding values for particular edges (top, bottom, left or right) can be specified using the corresponding properties of the current object (Paddings.PaddingTop, Paddings.PaddingBottom, Paddings.PaddingLeft or Paddings.PaddingRight). Note that padding values of a particular edge override the value defined via the Padding property.

See Also