[]
A structure representing four Unit values corresponding to the four sides of a rectangluar area. Used by Padding and Spacing properties.
public struct Offsets
Name | Description |
---|---|
Offsets(Unit) | Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties. |
Offsets(string) | Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties. |
Offsets(string, string, string, string) | Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values. |
Name | Description |
---|---|
All | Sets all four offset values. |
Bottom | Gets or sets the bottom offset value. |
BottomExpr | Gets or sets the expression used to calculate Bottom. |
Left | Gets or sets the left offset value. |
LeftExpr | Gets or sets the expression used to calculate Left. |
Right | Gets or sets the right offset value. |
RightExpr | Gets or sets the expression used to calculate Right. |
Top | Gets or sets the top offset value. |
TopExpr | Gets or sets the expression used to calculate Top. |