A newer version of this page is available. Switch to the current version.

PaddingInfo Struct

Contains padding or margin information associated with a control or a brick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll

Declaration

[TypeConverter(typeof(PaddingInfoTypeConverter))]
public struct PaddingInfo :
    IEquatable<PaddingInfo>
<TypeConverter(GetType(PaddingInfoTypeConverter))>
Public Structure PaddingInfo
    Implements IEquatable(Of PaddingInfo)

Remarks

The PaddingInfo structure represents the padding or margin associated with a rectangular UI element such as a control or a brick. The padding is the internal space between the body of the UI element and its edge. In contrast, a margin is the distance separating the adjoining edges of two adjacent UI elements. Because of structural similarities, PaddingInfo is used to represent both padding and margins.

Padding has a different effect on controls that are containers than on controls that are not. For example, in a panel, the Padding property defines the spacing between the border of the panel and its child controls. For a button control, the padding property defines the spacing between the border of the button control and its contained text.

See Also