Border Class |
public class Border : AbstractStyle
The Border type exposes the following members.
| Name | Description | |
|---|---|---|
| BottomColor | Gets or sets the color code of the bottom border. The value is expressed as hex string with the format AARRGGBB. AA (Alpha) is usually FF | |
| BottomStyle | Gets or sets the style of bottom cell border | |
| DiagonalColor | Gets or sets the color code of the diagonal lines. The value is expressed as hex string with the format AARRGGBB. AA (Alpha) is usually FF | |
| DiagonalDown | Gets or sets whether the downwards diagonal line is used. If true, the line is used | |
| DiagonalStyle | Gets or sets the style of the diagonal lines | |
| DiagonalUp | Gets or sets whether the upwards diagonal line is used. If true, the line is used | |
| InternalID |
Gets or sets the internal ID for sorting purpose in the Excel style document (nullable)
(Inherited from AbstractStyle) | |
| LeftColor | Gets or sets the color code of the left border. The value is expressed as hex string with the format AARRGGBB. AA (Alpha) is usually FF | |
| LeftStyle | Gets or sets the style of left cell border | |
| RightColor | Gets or sets the color code of the right border. The value is expressed as hex string with the format AARRGGBB. AA (Alpha) is usually FF | |
| RightStyle | Gets or sets the style of right cell border | |
| TopColor | Gets or sets the color code of the top border. The value is expressed as hex string with the format AARRGGBB. AA (Alpha) is usually FF | |
| TopStyle | Gets or sets the style of top cell border |
| Name | Description | |
|---|---|---|
| CompareTo |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle) | |
| Copy |
Method to copy the current object to a new one without casting
(Overrides AbstractStyleCopy) | |
| CopyBorder | Method to copy the current object to a new one with casting | |
| CopyPropertiesT |
Internal method to copy altered properties from a source object. The decision whether a property is copied is dependent on a untouched reference object
(Inherited from AbstractStyle) | |
| Equals(AbstractStyle) |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle) | |
| Equals(Object) |
Returns whether two instances are the same
(Overrides ObjectEquals(Object)) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode) | |
| GetStyleName | Gets the border style name from the enum | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsEmpty | Method to determine whether the object has no values but the default values (means: is empty and must not be processed) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString |
Override toString method
(Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| DEFAULT_BORDER_STYLE | Default border style as constant | |
| DEFAULT_COLOR | Default border color as constant |