Class SpreadBorder
Encapsulates style and color for a single cell border edge used when rendering or exporting spreadsheet cells.
Inheritance
Inherited Members
Namespace: Telerik.Documents.SpreadsheetStreaming
Assembly: Telerik.Documents.SpreadsheetStreaming.dll
Syntax
public class SpreadBorder
Constructors
SpreadBorder(SpreadBorderStyle, SpreadThemableColor)
Initialize a border definition with the specified style and themable color.
Declaration
public SpreadBorder(SpreadBorderStyle style, SpreadThemableColor color)
Parameters
|
SpreadBorderStyle
style
The border style. |
|
SpreadThemableColor
color
The border color. |
Properties
Color
Gets the themable color used to render the border.
Declaration
public SpreadThemableColor Color { get; }
Property Value
|
SpreadThemableColor
The themable color. |
Style
Gets the border line style applied at this edge.
Declaration
public SpreadBorderStyle Style { get; }
Property Value
|
SpreadBorderStyle
The border style. |
Methods
Equals(Object)
Determines value equality with another border by comparing style and color.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
Returns true if style and color match; otherwise false. |
Overrides
GetHashCode()
Generates a combined hash code based on style and color.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |