Skip to main content
A newer version of this page is available. .

XRLabel.ProcessDuplicatesMode Property

Specifies how to process report controls with duplicate values.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.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.

Available values:

Name Description
Leave

A control is always printed.

Merge

The identical data values are merged into a single column.

This setting is in effect for the property that is specified via the XRControl.ProcessDuplicatesTarget option.

Suppress

If a control receives an identical value, a blank space is printed instead.

SuppressAndShrink

If a control receives an identical value, it is not printed (without adding blank space in its place).

This setting has no effect on intersecting controls.

Remarks

This option defines the processing of report controls with duplicate XRControl.Text or XRControl.Tag property values (depending on the XRLabel.ProcessDuplicatesTarget setting).

Note

The application does not print a band if there are no controls on it after duplicates are removed.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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