Margins.Margin Property
In This Article
Gets or sets the common margin value for all four edges.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Unit | String. |
A Unit that is the margin value. |
#Remarks
Use the Margin property to specify the amount of space around the outside of a rectangular UI element.
The margin values for particular edges (top, bottom, left or right) can be specified using the corresponding properties of the current object (Margins.MarginTop, Margins.MarginBottom, Margins.MarginLeft or Margins.MarginRight). Note that margin values of a particular edge override the value defined via the Margin property.
See Also