PicoXLSX Library Documentation
![]() | StyleBorder Class |
Class representing a Border entry. The Border entry is used to define frames and cell borders

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public class Border : AbstractStyle
The StyleBorder type exposes the following members.

Name | Description | |
---|---|---|
![]() | StyleBorder |
Default constructor
|

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
|
![]() | Hash |
Gets the unique hash of the object
(Inherited from AbstractStyle.) |
![]() | 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 | |
---|---|---|
![]() | CalculateHash |
Override method to calculate the hash of this component (internal method)
(Overrides AbstractStyleCalculateHash.) |
![]() | 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(Object) | (Inherited from Object.) |
![]() | Equals(AbstractStyle) |
Method to compare two objects for sorting purpose
(Inherited from AbstractStyle.) |
![]() | 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 | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | 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.) |
