Struct Margins
Margins structure
Specifies the dimensions of the margins of a node.
public struct Margins : IEquatable<Margins>
Constructors
Name | Description |
---|
Margins(float, float, float, float) | Initializes a new instance of the Margins struct with the specified left, right, top, and bottom margins. |
Properties
Name | Description |
---|
Bottom { get; set; } | Gets or sets the bottom margin width. |
Left { get; set; } | Gets or sets the left margin width. |
Right { get; set; } | Gets or sets the right margin width. |
Top { get; set; } | Gets or sets the top margin width. |
Methods
Name | Description |
---|
Equals(Margins) | Tests whether two Margins structures are equal. |
override Equals(object) | Tests whether two Margins structures are equal. |
override GetHashCode() | Serves as a hash function for the type. |
operator == | Tests whether two Margins structures are equal. |
operator != | Tests whether two Margins structures are not equal. |
Fields
Name | Description |
---|
static readonly Empty | The empty margins. |
See Also