FormatConditionRuleUniqueDuplicate Class

Applies a format if a column's value is unique or a duplicate.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public class FormatConditionRuleUniqueDuplicate :
    FormatConditionRuleAppearanceBase,
    IFormatConditionRuleUniqueDuplicate,
    IFormatConditionRuleBase
Public Class FormatConditionRuleUniqueDuplicate
    Inherits FormatConditionRuleAppearanceBase
    Implements IFormatConditionRuleUniqueDuplicate,
               IFormatConditionRuleBase

Remarks

The FormatConditionRuleUniqueDuplicate object allows you to highlight unique or duplicate column values.

The FormatConditionRuleUniqueDuplicate.FormatType property specifies whether to target unique or duplicate values.

You can use the FormatConditionRuleAppearanceBase.PredefinedName property to apply one of the predefined style formats (Italic Text, Red Bold Text, Green Fill, Yellow Text with Yellow Fill, etc.), or use the FormatConditionRuleAppearanceBase.Appearance property to provide a custom appearance.

The images below demonstrate examples of applying a FormatConditionRuleUniqueDuplicate format.

FormatUniqueValuesBoldText FormatDiplicateValuesStrikeoutTextRedFill

See the following documents to learn more.

Inheritance

See Also