The Offsets type exposes the following members.

Constructors

  Name Description
Public method Offsets(String)
Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.
Public method Offsets(Unit)
Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.
Public method Offsets(String, String, String, String)
Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values.

Methods

  Name Description
Public method Equals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public method GetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public method ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Properties

  Name Description
Public property All
Sets all four offset values.
Public property Bottom
Gets or sets the bottom offset value.
Public property BottomExpr
Gets or sets the expression used to calculate Bottom.
Public property Left
Gets or sets the left offset value.
Public property LeftExpr
Gets or sets the expression used to calculate Left.
Public property Right
Gets or sets the right offset value.
Public property RightExpr
Gets or sets the expression used to calculate Right.
Public property Top
Gets or sets the top offset value.
Public property TopExpr
Gets or sets the expression used to calculate Top.

See Also