Skip to main content

Paddings.Padding Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll


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

Property Value

Type Default Description
Unit String.Empty

A Unit that represents the padding value.


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