Skip to main content

XRLabel.ProcessDuplicatesMode Property

Specifies how to process a XRLabel control with duplicate values. See the ProcessDuplicatesMode enumeration description for information on the different duplicate processing modes.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[Browsable(true)]
public override ProcessDuplicatesMode ProcessDuplicatesMode { get; set; }

Property Value

Type Description
ProcessDuplicatesMode

A ProcessDuplicatesMode enumeration value.

Remarks

Use this property to process duplicate values of the XRLabel‘s Text or Tag property. Use the XRLabel‘s ProcessDuplicatesTarget property to set one of them.

The sample report screenshots below show how different duplicate processing modes are applied to the XRLabel control in the Country column.

Note that if there are no controls on a band after duplicate values are removed, the band is not printed.

In the previous images, all the values of the second and third table row are the same. After the duplicates on the third line are removed, the band is empty. Although the duplicate processing mode is set to Suppress, the band is not printed.

For more information, review the following help topics:

View Example: How to process duplicate values in a report

The following code snippets (auto-collected from DevExpress Examples) contain references to the ProcessDuplicatesMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also