xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-fa0690cf.md
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
[Browsable(true)]
public override ValueSuppressType ProcessNullValues { get; set; }
<Browsable(True)>
Public Overrides Property ProcessNullValues As ValueSuppressType
| 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 field is obsolete (this API is now obsolete).
| | MergeByTag |
Obsolete. This field is obsolete (this API is now obsolete).
|
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