UniqueDuplicateRuleFormatCondition Class
A Unique-Duplicate conditional format.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
[ContentProperty(Name = "Format")]
public class UniqueDuplicateRuleFormatCondition :
FormatConditionBase
Remarks
The Unique-Duplicate conditional format allows you to format cells whose values are unique or duplicate.
The following XAML snippet illustrates how to highlight duplicate State values in italic.
<Grid:GridControl>
<Grid:GridControl.FormatConditions>
<Grid:UniqueDuplicateRuleFormatCondition FieldName="State" Rule="Duplicate"
PredefinedFormatName="{x:Bind Grid:PredefinedFormatNames.ItalicText}"/>
</Grid:GridControl.FormatConditions>
</Grid:GridControl>
The image below shows the result.
Inheritance
Object
DependencyObject
FormatConditionBase
UniqueDuplicateRuleFormatCondition
See Also