Adds a 'Cells with Blanks' or 'Cells with No Blanks' or 'Cells with Errors' or 'Cells with No Errors' conditional formatting rule applied to a specified sequence of references to cell ranges.
GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 18.104.22.1689
public ContainCondition AddContain(
Public Function AddContain (
appliesTo As String,
containConditionType As ContainConditionType
) As ContainCondition
- Type: SystemString
The sequence of references to cell ranges over which the newly added conditional formatting rule is applied.
- Type: GemBox.Spreadsheet.ConditionalFormattingContainConditionType
The contain condition type (Blanks or NoBlanks or Errors or NoErrors).
set to a newly created conditional formatting rule which can be used to customize the formatting.
Newly added rule is inserted at the beginning of the collection so it has the highest priority and is first applied.