GridCells.SetStyle

SetStyle(int, int, int, int, Style)

Sets the style to a specified range of cells.

public void SetStyle(int firstRow, int firstColumn, int rowNumber, int columnNumber, Style style)
ParameterTypeDescription
firstRowInt32First row of this range(zero based)
firstColumnInt32First column of this range(zero based)
rowNumberInt32Number of rows(one based)
columnNumberInt32Number of columns(one based)
styleStyleThe style object to be set

See Also


SetStyle(string, Style)

Sets the style to a specified range of cells.

public void SetStyle(string cellRange, Style style)
ParameterTypeDescription
cellRangeStringThe range of cells’ names, like “A1:D6”
styleStyleThe style object to be set

See Also


SetStyle(CellRange, Style)

Sets the style to a specified range of cells.

public void SetStyle(CellRange cellRange, Style style)
ParameterTypeDescription
cellRangeCellRangeThe range of cells
styleStyleThe style object to be set

See Also