Parameter.Type Property
Determines which values a report parameter can accept.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v19.1.Core.dll
Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Reference)]
public virtual Type Type { get; set; }
Property Value
Type | Description |
---|---|
Type | A Type object, specifying the type declarations. |
Remarks
The Parameter.Type
property determines which values a parameter can accept. The corresponding value editors are created automatically for the following standard parameter types:
- String
- Date
Number
- 16-bit integer
- 32-bit integer
- 64-bit integer
- floating point
- double-precision floating point
- decimal
- Boolean
- GUID (Globally Unique Identifier)
In the Print Preview, these editors are displayed in the Parameters panel.
The following image illustrates the standard editors for parameter values in a WinForms application.
To learn how to implement value editors for parameters of custom types (such as enumerations or XPCollection objects), see Requesting and Passing Report Parameter Values.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.