Click or drag to resize

ConditionalFormatRuleSetUniqueOrDuplicate Method

Sets a 'Unique or Duplicate' formatting condition to this conditional formatting rule.

Namespace:  GemBox.Spreadsheet.ConditionalFormatting
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1147
Syntax
public UniqueOrDuplicateCondition SetUniqueOrDuplicate(
	bool duplicate
)

Parameters

duplicate
Type: SystemBoolean
if set to format cells with duplicate values; otherwise, format cells with unique values.

Return Value

Type: UniqueOrDuplicateCondition
A UniqueOrDuplicateCondition set to this conditional formatting rule which can be used to customize the formatting.
See Also