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.v19.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core
Declaration
Property Value
Type | Description |
---|---|
ValueSuppressType | A ValueSuppressType enumeration value. |
Available values:
Name | Description |
---|---|
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 API is obsolete now. |
MergeByTag | Obsolete. This API is obsolete now. |
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.