Paddings.Padding Property
Gets or sets the common padding value for all the four edges.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Padding property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.