Style.SetBorder

SetBorder(BorderType, CellBorderType, Color)

Sets the borders of the style.

public bool SetBorder(BorderType borderType, CellBorderType borderStyle, Color borderColor)
ParameterTypeDescription
borderTypeBorderTypeThe border(s) to be set, can be combination of BorderType.
borderStyleCellBorderTypeThe style of the border.
borderColorColorThe color of the border.

Return Value

Whether current border settings have been changed.

See Also


SetBorder(BorderType, CellBorderType, CellsColor)

Sets the borders of the style.

public bool SetBorder(BorderType borderType, CellBorderType borderStyle, CellsColor borderColor)
ParameterTypeDescription
borderTypeBorderTypeThe border(s) to be set, can be combination of BorderType.
borderStyleCellBorderTypeThe style of the border.
borderColorCellsColorThe color of the border.

Return Value

Whether current border settings have been changed.

See Also