• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormattingCellBorders

Represents border formatting for a cell style.

Inheritance
object
AbstractBorders
FormattingCellBorders
Inherited Members
AbstractBorders.IsDefault()
AbstractBorders.From(AbstractBorders)
AbstractBorders.SetDiagonalCrossBorder(BorderStyle, SpreadsheetColor)
AbstractBorders.SetBoxBorder(BorderStyle, SpreadsheetColor)
AbstractBorders.SetBoxBorder(BorderStyle, Color)
AbstractBorders.SetAll(BorderStyle, SpreadsheetColor)
AbstractBorders.SetAll(BorderStyle)
AbstractBorders.SetOutline(BorderStyle, SpreadsheetColor)
AbstractBorders.SetOutline(BorderStyle)
AbstractBorders.Set(BorderType, BorderStyle, SpreadsheetColor)
AbstractBorders.Set(BorderType, BorderStyle)
AbstractBorders.Equals(object)
AbstractBorders.GetHashCode()
AbstractBorders.Outline
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class FormattingCellBorders : AbstractBorders
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Properties

Borders

Specifies the border collection for all four edges.

Declaration
public AbstractBorders Borders { get; set; }
Property Value
Type Description
AbstractBorders
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Bottom

Get the bottom border

Declaration
public override Border Bottom { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Bottom
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Diagonal

Specifies the diagonal border (appears from top-left to bottom-right).

Declaration
public override Border Diagonal { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Diagonal
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

DiagonalDown

Gets or sets whether the diagonal border runs from bottom-left to top-right.

Declaration
public override bool DiagonalDown { get; set; }
Property Value
Type Description
bool
Overrides
AbstractBorders.DiagonalDown
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

DiagonalUp

Gets or sets whether the diagonal border runs from top-left to bottom-right.

Declaration
public override bool DiagonalUp { get; set; }
Property Value
Type Description
bool
Overrides
AbstractBorders.DiagonalUp
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Horizontal

Get the horizontal border

Declaration
public override Border Horizontal { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Horizontal
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Left

Specifies the left border.

Declaration
public override Border Left { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Left
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Right

Specifies the right border.

Declaration
public override Border Right { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Right
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Top

Specifies the top border.

Declaration
public override Border Top { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Top
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Vertical

Specifies the vertical border (between cells in the same row).

Declaration
public override Border Vertical { get; set; }
Property Value
Type Description
Border
Overrides
AbstractBorders.Vertical
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Methods

SetBoxBorder(BorderStyle)

Updates the box border held by the FormattingCellBorders.

Declaration
public override void SetBoxBorder(BorderStyle borderStyle)
Parameters
Type Name Description
BorderStyle borderStyle

The border style used by the operation.

Overrides
AbstractBorders.SetBoxBorder(BorderStyle)
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

SetDiagonalCrossBorder(BorderStyle)

Updates the diagonal cross border held by the FormattingCellBorders.

Declaration
public override void SetDiagonalCrossBorder(BorderStyle borderStyle)
Parameters
Type Name Description
BorderStyle borderStyle

The border style used by the operation.

Overrides
AbstractBorders.SetDiagonalCrossBorder(BorderStyle)
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

SetDiagonalCrossBorder(BorderStyle, Color)

Updates the diagonal cross border held by the FormattingCellBorders.

Declaration
public override void SetDiagonalCrossBorder(BorderStyle borderStyle, Color color)
Parameters
Type Name Description
BorderStyle borderStyle

The border style used by the operation.

Color color

The color used by the operation.

Overrides
AbstractBorders.SetDiagonalCrossBorder(BorderStyle, Color)
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

SetDiagonalDownBorder(BorderStyle)

Updates the diagonal down border held by the FormattingCellBorders.

Declaration
public override void SetDiagonalDownBorder(BorderStyle borderStyle)
Parameters
Type Name Description
BorderStyle borderStyle

The border style used by the operation.

Overrides
AbstractBorders.SetDiagonalDownBorder(BorderStyle)
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

SetDiagonalUpBorder(BorderStyle)

Updates the diagonal up border held by the FormattingCellBorders.

Declaration
public override void SetDiagonalUpBorder(BorderStyle borderStyle)
Parameters
Type Name Description
BorderStyle borderStyle

The border style used by the operation.

Overrides
AbstractBorders.SetDiagonalUpBorder(BorderStyle)
Remarks

FormattingCellBorders is used internally for style-based border formatting, supporting inheritance from parent styles.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX