The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRSummary.IgnoreNullValues Property

Specifies whether null values should be ignored when a summary is calculated.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
public virtual bool IgnoreNullValues { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
Public Overridable Property IgnoreNullValues As Boolean

Property Value

Type Default Description
Boolean

false

true to ignore null values; otherwise, false.

Remarks

Use this property to specify whether null values should be ignored when a summary is calculated. If they are included they will be treated as zeros. For instance, for the SummaryFunc.Avg summary function and the following set of values:

1, null, 5

with the IgnoreNullValues = true the Average function's value will be 3, and

with the IgnoreNullValues = false the Average function's value will be 2.

To learn more, see Shaping Data using Legacy Data Bindings.

See Also