The Spacing type exposes the following members.

Constructors

  NameDescription
Public methodSpacing()()()()
Initializes a new instance of the Spacing class.
Public methodSpacing(Double)
Initializes a new instance of the Spacing class with the given spacing.
Public methodSpacing(Double, Double, Double, Double)
Initializes a new instance of the Spacing class with the given spacing.

Methods

  NameDescription
Public methodClone
Clones a Spacing.
Public methodCopyFrom
Copy the values for left, right, top and bottom from another Spacing object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Operators

  NameDescription
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(Double to Spacing)
Set the Left, Right, Top and Bottom values to the same value.
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(Unit to Spacing)
Set the Left, Right, Top and Bottom values to the same value.

Properties

  NameDescription
Public propertyBottom
Spacing below.
Public propertyLeft
Spacing on the left side
Public propertyRight
Spacing on the right side
Public propertyTop
Spacing above.

See Also