Skip to main content
All docs
V26.1
  • Padding Members

    Contains padding or margin information.

    Constructors

    Name Description
    Padding(Single, Single, Single, Single) Initializes a new instance of the Padding class with specified settings.
    Padding(Single) Initializes a new instance of the Padding class with specified settings.

    Fields

    Name Description
    Empty static Returns Padding structure with no padding.

    Properties

    Name Description
    All Indicates padding for all element sides.
    Bottom Indicates padding for the bottom side of the element.
    Horizontal Gets the sum of left and right padding values.
    IsEmpty Indicates whether all padding values are equal to zero.
    Left Indicates padding for the left side of the element.
    Right Indicates padding for the right side of the element.
    Top Indicates padding for the top side of the element.
    Vertical Gets the sum of the top and bottom padding values.

    Methods

    Name Description
    Equals(Padding) Determines whether the specified Padding object is equal to the current Padding object.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current Padding object.
    GetHashCode() Returns a number that identifies the object instance.
    GetType() Gets the Type of the current instance. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns the fully qualified type name of this instance. Inherited from ValueType.

    Operators

    Name Description
    Equality(Padding, Padding) static Determines whether two Padding objects are equal.
    Inequality(Padding, Padding) static Determines whether two Padding objects are not equal.
    See Also