[]
Represents the border of an object.
public struct Border : IEquatable<Border>
Public Structure Border
Implements IEquatable(Of Border)
Name | Description |
---|---|
Border(BorderLine) | Initializes a new instance of the Border struct. |
Name | Description |
---|---|
Empty | Represents a Border structure with its properties left uninitialized. |
NoBorder | Represents no border; so the default border should be used to paint. |
Name | Description |
---|---|
All | Gets or sets all border lines. |
Bottom | Gets or sets the bottom side of border. |
Diagonal | Gets or sets the diagonal side of border. |
DiagonalDown | Gets or sets a value indicating whether the cell's diagonal border includes a diagonal line, starting at the top left corner of the cell and moving down to the bottom right corner of the cell. |
DiagonalUp | Gets or sets a value indicating whether cell's diagonal border includes a diagonal line, starting at the bottom left corner of the cell and moving up to the top right corner of the cell. |
Horizontal | Gets or sets the inner horizontal side of border. |
Left | Gets or sets the left side of border. |
Outline | Gets or sets a value indicating whether left, right, top, and bottom borders should be applied only to outside borders of a cell range. |
Right | Gets or sets the right side of border. |
Top | Gets or sets the top side of border. |
Vertical | Gets or sets the inner vertical side of border. |
Name | Description |
---|---|
Equals(Border) | Indicates whether the current object is equal to another object of the same type. |
Equals(ref Border) | Indicates whether the current object is equal to another object of the same type. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
IsDisplayable() | Determines whether this border contains border setting(s). |
IsEmpty() | Determines whether this border is empty. |
Name | Description |
---|---|
operator ==(Border, Border) | Returns a value that indicates whether two specified Border values are equal. |
operator !=(Border, Border) | Returns a value that indicates whether two specified Border values are not equal. |