UniqueDuplicateRuleFormatCondition.Rule Property

Specifies the rule for a conditional format. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.Core.dll

Declaration

public UniqueDuplicateRule Rule { get; set; }

Property Value

Type Description
UniqueDuplicateRule

One of the UniqueDuplicateRule enumeration values.

Available values:

Name Description
Unique

The style is applied to cells whose values are unique.

Duplicate

The style is applied to cells whose values are duplicated.

Remarks

The Rule property is used to set a unique/duplicate rule that specifies which cells (or corresponding rows) are formatted.

See Also