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:
public UniqueOrDuplicateCondition SetUniqueOrDuplicate(
	bool 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