Click or drag to resize
PicoXLSX

StyleBorder Class

Class representing a Border entry. The Border entry is used to define frames and cell borders
Inheritance Hierarchy
SystemObject
  PicoXLSXAbstractStyle
    PicoXLSXStyleBorder

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.2.1+e0edc719a6aeecf6c989e5a57750c75d6f3175bb
Syntax
C#
public class Border : AbstractStyle

The StyleBorder type exposes the following members.

Constructors
 NameDescription
Private methodStatic memberStyleBorder 
Public methodStyleBorder Initializes a new instance of the StyleBorder class
Top
Properties
 NameDescription
Public propertyBottomColor 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
Public propertyBottomStyle Gets or sets the style of bottom cell border
Public propertyDiagonalColor 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
Public propertyDiagonalDown Gets or sets a value indicating whether DiagonalDown Gets or sets whether the downwards diagonal line is used. If true, the line is used
Public propertyDiagonalStyle Gets or sets the style of the diagonal lines
Public propertyDiagonalUp Gets or sets a value indicating whether DiagonalUp Gets or sets whether the upwards diagonal line is used. If true, the line is used
Public propertyInternalID Gets or sets the internal ID for sorting purpose in the Excel style document (nullable)
(Inherited from AbstractStyle)
Public propertyLeftColor 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
Public propertyLeftStyle Gets or sets the style of left cell border
Public propertyRightColor 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
Public propertyRightStyle Gets or sets the style of right cell border
Public propertyTopColor 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
Public propertyTopStyle Gets or sets the style of top cell border
Top
Methods
 NameDescription
Public methodCompareTo Method to compare two objects for sorting purpose
(Inherited from AbstractStyle)
Public methodCopy Method to copy the current object to a new one without casting
(Overrides AbstractStyleCopy)
Public methodCopyBorder Method to copy the current object to a new one with casting
Protected methodCopyPropertiesT 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)
Public methodEquals(AbstractStyle) Method to compare two objects for sorting purpose
(Inherited from AbstractStyle)
Public methodEquals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Returns a hash code for this instance
(Overrides ObjectGetHashCode)
Public methodStatic memberGetStyleName Gets the border style name from the enum
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsEmpty Method to determine whether the object has no values but the default values (means: is empty and must not be processed)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Override toString method
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldStatic memberDEFAULT_BORDER_STYLE Default border style as constant
Public fieldStatic memberDEFAULT_COLOR Default border color as constant
Top
See Also