Parameter.AllowNull Property
Specifies whether to treat an empty field as null
.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
[TypeConverter("DevExpress.XtraReports.Design.RangeIncompatiblePropertyConverter,DevExpress.Utils.v24.1.UI, Version=24.1.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
[XtraSerializableProperty]
public bool AllowNull { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true, to treat an empty field as |
Remarks
The AllowNull
option determines whether to treat an empty field as null
or as string.empty
(or as an empty array for the multi-value parameter).
using DevExpress.XtraReports.Parameters;
// ...
report.Parameters["date"].AllowNull = true;
See Also