Contains padding or margin information associated with a control or a brick.
public struct PaddingInfo : IEquatable<PaddingInfo>
Public Structure PaddingInfo Implements IEquatable(Of PaddingInfo)
Related API Members
The following members accept/return PaddingInfo objects:
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.