Parameter.AllowNull Property

Indicates whether the parameter's value can be unspecified.

Namespace: DevExpress.XtraReports.Parameters

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

Declaration

[DefaultValue(false)]
public bool AllowNull { get; set; }
<DefaultValue(False)>
Public Property AllowNull As Boolean

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.

Implements

DevExpress.Data.INullableParameter.AllowNull
See Also