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.v20.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.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 | Leaves all controls with identical values as is. |
Merge | Merges controls with consecutive identical values into a single control. Note that this mode ignores controls with null values. Use the ProcessNullValues property to process controls with null values. |
Suppress | Removes all controls with consecutive identical values except the first control. Substitutes the removed controls with blank space. |
SuppressAndShrink | Does the same as the Suppress mode and then shrinks blank space. Note that this mode cannot be used for intersecting controls and vertical bands. |
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.
Related GitHub Examples
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.