Class AbstractBorder
Provides a base class for border implementations.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class AbstractBorder
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
Constructors
AbstractBorder()
Provides a base class for border implementations.
Declaration
protected AbstractBorder()
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
Properties
SpreadsheetColor
Gets the border color.
Declaration
public abstract SpreadsheetColor SpreadsheetColor { get; }
Property Value
| Type | Description |
|---|---|
| SpreadsheetColor |
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
Style
Gets the border style (None, Thin, Medium, Thick, etc.).
Declaration
public abstract BorderStyle Style { get; }
Property Value
| Type | Description |
|---|---|
| BorderStyle |
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
Methods
Equals(object)
Exposes the equals associated with AbstractBorder.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The obj used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The equals returned by the operation. |
Overrides
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
GetHashCode()
Retrieves the requested hash code from the AbstractBorder.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The get hash code returned by the operation. |
Overrides
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.
ToString()
Converts the supplied data for use with the AbstractBorder.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The to string returned by the operation. |
Overrides
Remarks
AbstractBorder defines the common interface for border objects,
including style and color properties. Derived classes include Border
and FormattableBorders.