Skip to main content
A newer version of this page is available. .

Parameter.AllowNull Property

Indicates whether the parameter‘s value can be unspecified.

Namespace: DevExpress.XtraReports.Parameters

Assembly: DevExpress.Printing.v20.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

[DefaultValue(false)]
public bool AllowNull { get; set; }

Property Value

Type Default Description
Boolean false

true, to allow the parameter to be unspecified; otherwise, false.

Remarks

If this property is set to true, end users can leave the parameter editor empty on the Parameters panel.

You can provide specific report data when the parameter is set to null.

See Also