Click or drag to resize

ConditionalFormatRuleSetContain Method

Sets a 'Cells with Blanks' or 'Cells with No Blanks' or 'Cells with Errors' or 'Cells with No Errors' formatting condition to this conditional formatting rule.

Namespace:  GemBox.Spreadsheet.ConditionalFormatting
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 43.0.35.1049
Syntax
public ContainCondition SetContain(
	ContainConditionType containConditionType
)

Parameters

containConditionType
Type: GemBox.Spreadsheet.ConditionalFormattingContainConditionType
The contain condition type (Blanks or NoBlanks or Errors or NoErrors).

Return Value

Type: ContainCondition
A ContainCondition set to this conditional formatting rule which can be used to customize the formatting.
Exceptions
ExceptionCondition
ArgumentExceptionParameter containConditionType is not Blanks or NoBlanks or Errors or NoErrors.
See Also