Click or drag to resize

UniqueOrDuplicateCondition Class

Represents a condition that formats only cells with unique or duplicate values.
Inheritance Hierarchy
SystemObject
  GemBox.Spreadsheet.ConditionalFormattingFormatCondition
    GemBox.Spreadsheet.ConditionalFormattingUniqueOrDuplicateCondition

Namespace:  GemBox.Spreadsheet.ConditionalFormatting
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 43.0.35.1066
Syntax
public sealed class UniqueOrDuplicateCondition : FormatCondition

The UniqueOrDuplicateCondition type exposes the following members.

Properties
  NameDescription
Public propertyConditionType
Gets the UniqueOrDuplicate value.
(Overrides FormatConditionConditionType.)
Public propertyDuplicate

Gets or sets a value indicating whether to format cells with duplicate values.

Default value is (formats cells with unique values).

Public propertyRule
Gets the conditional formatting rule associated with this condition.
(Inherited from FormatCondition.)
Public propertyStyle
Gets the actual formatting which will be applied to a cell if its value satisfies this UniqueOrDuplicateCondition.
Top
Methods
See Also