The Margins type exposes the following members.

Constructors

  NameDescription
MarginsOverloaded.

Methods

  NameDescription
Clone
Creates a copy of the Margins.
ConvertUnits
Create new margins in the new system of counting.
Equals
Overridden. See Equals(Object).
(Overrides ValueType..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Overridden. See GetHashCode()()().
(Overrides ValueType..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ParseOverloaded.
ToStringOverloaded.

Operators

Properties

  NameDescription
Bottom
Gets or sets the bottom margin of an element.
Empty
Gets the empty Margins.
IsEmpty
Returns true if Left, Top, Right and Bottom properties are zero; otherwise, false.
Left
Gets or sets the left margin of an element.
Right
Gets or sets the right margin of an element.
Size
Gets the size of margins.
Top
Gets or sets the top margin of an element.

See Also