[]
        
(Showing Draft Content)

FarPoint.Web.Spread.SheetView.SetConditionalFormatting

SetConditionalFormatting Method

SetConditionalFormatting(int, int, params IConditionalFormattingRule[])

Sets conditional formatting for a specified cell on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(int row, int column, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

IConditionalFormattingRule[] rules

The specified rules to apply for a specified cell

SetConditionalFormatting(int, int, bool, params IConditionalFormattingRule[])

Sets conditional formatting for a specified cell on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(int row, int column, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

bool combinable

Rule(s) can be merged into an existing conditional format if they affect the same cell range(s).

IConditionalFormattingRule[] rules

The specified rules to apply for a specified cell

SetConditionalFormatting(int, int, int, int, params IConditionalFormattingRule[])

Sets conditional formatting for a specified range of cells on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(int row, int column, int rowCount, int columnCount, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

IConditionalFormattingRule[] rules

The specified rules to apply for a specified range of cells

SetConditionalFormatting(int, int, int, int, bool, params IConditionalFormattingRule[])

Sets conditional formatting for a specified range of cells on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(int row, int column, int rowCount, int columnCount, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

bool combinable

Rule(s) can be merged into an existing conditional format if they affect the same cell range(s).

IConditionalFormattingRule[] rules

The specified rules to apply for a specified range of cells

SetConditionalFormatting(CellRange[], params IConditionalFormattingRule[])

Sets conditional formatting for specified ranges of cells on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(CellRange[] cellRanges, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(cellRanges As CellRange(), ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
CellRange[] cellRanges

The cell ranges

IConditionalFormattingRule[] rules

The specified rules to apply for a specified range of cells

SetConditionalFormatting(CellRange[], bool, params IConditionalFormattingRule[])

Sets conditional formatting for specified ranges of cells on the sheet based on specified rules.

Declaration
public void SetConditionalFormatting(CellRange[] cellRanges, bool combinable, params IConditionalFormattingRule[] rules)
Public Sub SetConditionalFormatting(cellRanges As CellRange(), combinable As Boolean, ParamArray rules As IConditionalFormattingRule())
Parameters
Type Name Description
CellRange[] cellRanges

The cell ranges

bool combinable

Rule(s) can be merged into an existing conditional format if they affect the same cell range(s).

IConditionalFormattingRule[] rules

The specified rules to apply for a specified range of cells

SetConditionalFormatting(params ConditionalFormatting[])

Sets conditional formatting for the sheet.

Declaration
public void SetConditionalFormatting(params ConditionalFormatting[] cfs)
Public Sub SetConditionalFormatting(ParamArray cfs As ConditionalFormatting())
Parameters
Type Name Description
ConditionalFormatting[] cfs

The conditional formatting