GridCells.SetStyle

SetStyle(string, GridTableItemStyle)

Sets the style to a specified range of cells.

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

See Also


SetStyle(int, int, int, int, GridTableItemStyle)

Sets the style to a specified range of cells.

public void SetStyle(int firstRow, int firstColumn, int rowNumber, int columnNumber, 
    GridTableItemStyle 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)
styleGridTableItemStyleThe style object to be set

See Also