A newer version of this page is available. Switch to the current version.

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

Declaration

[Browsable(true)]
public override ValueSuppressType ProcessNullValues { get; set; }

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.

See Also