Back to Devexpress

XRLabel.ProcessNullValues Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-fa0690cf.md

latest3.0 KB
Original Source

XRLabel.ProcessNullValues Property

Specifies how to process a XRLabel control with null values. See the ValueSuppressType enumeration description for information on how different modes process null values.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(true)]
public override ValueSuppressType ProcessNullValues { get; set; }
vb
<Browsable(True)>
Public Overrides Property ProcessNullValues As ValueSuppressType

Property Value

TypeDescription
ValueSuppressType

A ValueSuppressType enumeration value.

|

Available values:

NameDescription
Leave

Leaves all controls with null values as is.

| | Suppress |

Removes all controls with null values and substitutes them with blank space.

| | SuppressAndShrink |

Removes all controls with null values and shrinks the blank space between them. Note that you cannot use this mode for intersecting controls and vertical bands.

| | MergeByValue |

Obsolete. This field is obsolete (this API is now obsolete).

| | MergeByTag |

Obsolete. This field is obsolete (this API is now obsolete).

|

Remarks

The XRLabel control is considered to have a null value, if its Text property returns null ( Nothing in Visual Basic) or String.Empty.

Note

When the XRLabel control displays a summary function‘s result, the ProcessNullValues property is disabled at design time and does nothing at runtime because null values are processed before summary functions are calculated.

See Also

ProcessDuplicatesTarget

ProcessDuplicatesMode

XRLabel Class

XRLabel Members

DevExpress.XtraReports.UI Namespace